Commit graph

100 commits

Author SHA1 Message Date
Daniel Siepmann b249b49e2d
Migrate some existing dconf module 2022-05-22 18:43:21 +02:00
Daniel Siepmann 3283c5e1dc
Use home-manager pointerCursor module
This removes need to setup everything myself. Didn't know about it
earlier.
Does exactly what this commit removes.
2022-05-22 18:31:08 +02:00
Daniel Siepmann e782687068
Streamline cursor theme
Some apps use different sources.
I setup xresources and ensure there is only one icon theme (includes
cursor).

This uses the single source of truth, thanks to nix / home-manager.

Except snap packages, those still don't work.
2022-05-22 17:51:01 +02:00
Daniel Siepmann e312a830e7
Configure QT
Configure to re use GTK styles to have a streamlined look and feel.
2022-05-22 15:38:57 +02:00
Daniel Siepmann 1436c97f2f
Streamline setup and move programs to own nix file 2022-05-20 16:44:33 +02:00
Daniel Siepmann 5cc06b6967
Add keychain application
In order to not worry about ssh-agent integration, it will take care and
ask for passphrases on first zsh start.
2022-05-20 16:20:44 +02:00
Daniel Siepmann e76c198f36
Move systemd to its own file 2022-05-20 16:10:39 +02:00
Daniel Siepmann 2e89e7f369
Configure GTK
Add new gtk configuration.

Use tmpfiles to provide the generated sources like themes to the system.
Also use for desktop files and remove old no longer needed readme entry.
2022-05-20 15:39:28 +02:00
Daniel Siepmann f324d067ac
Enable further handling via home-manager
Extend support of ubuntu as host system.
Expose installed fonts.
2022-05-20 13:47:03 +02:00
Daniel Siepmann 2823c2f0f9
Maintain more global options via home-manager
Use home-manager to create xsession.
Readme contains info on how to start xsession on login.

That way home-manager can maintain languages, keyboard and further stuff
globally for user.

No more need to set stuff as workaround within i3 or zsh.
Also enabled to start systemd units after login, as home-manager will
create and trigger `hm-graphical-session.target`.
2022-05-20 12:47:01 +02:00
Daniel Siepmann fb009d303d
Split home.nix into multiple files
Use dedicated files for files, packages and xdg.
This shortens the huge home.nix file.
2022-05-20 12:45:42 +02:00
Daniel Siepmann 5f66cd8f14
Restructure home.nix file
Group stuff into namespaces.
E.g. group all home.* options below home = { };
2022-05-20 11:57:00 +02:00
Daniel Siepmann eb3282b453
Add replacement for i3 battery
The module doesn't work or exist anymore.
I use a lightwight battery icon instead which I add as a service to
start during login.

And I don't need the wifi thingy.
2022-05-19 07:18:51 +02:00
Daniel Siepmann 965c095482
Use i3 maintained by nix
Install and configure i3 via nix home-manager.
This commit just migrates existing configuration.

It doesn't clean things up, e.g. move stuff to expected locations.
I configure x* tools from within i3 right now …
Also didn't clean things up, e.g. sort and group related things.
2022-05-18 22:31:18 +02:00
Daniel Siepmann 7eb240b267
Install i3blocks via nix
This was installed via apt but can also be installed via nix.
2022-05-18 20:04:11 +02:00
Daniel Siepmann bff5ada561
Add spotdl
Allow to download from Spotify, just like yt-dlp for youtube.
2022-05-16 11:47:50 +02:00
Daniel Siepmann 3b6e9cfe01
Add custom script to push etckeeper state
I'm still on Ubuntu and use etckeeper to track changes to /etc.
This small script will push it to my own Gitea instance as a backup and
online history in case I need it.
2022-05-15 21:40:35 +02:00
Daniel Siepmann a33cf1bb7d
Add darktable for foto editing 2022-04-28 12:54:35 +02:00
Daniel Siepmann df46cb05ed
Cleanup nix flakes + shells
Remove flakes for now.
I will use shells for now to not have a mixed setup.
Add composer v1 for a single customer project as overlay due to usage in
shell instead of flakes.

Adjust folder to not have unnecessary deep structure.

Add shell for reuter monorepo using composer v1.
2022-04-14 15:46:49 +02:00
Daniel Siepmann 5221385642
Migrate global TYPO3 configurations
Those were the last piece in my old .dotfiles repository.
The whole configuration is now defined here.

Only customer specifics are in a separate location / repo to not expose
any sensible data.
2022-04-14 15:07:29 +02:00
Daniel Siepmann 048c0df915
Setup Neovim yamllint the same way as xmllint
Do not install globally.
Provide configuration at expected location as default / fallback.
2022-04-14 14:31:19 +02:00
Daniel Siepmann 9fd5c068af
Remove audacity
This doesn't work, probably like sound-juicer needs underlying system?
2022-04-11 07:50:34 +02:00
Daniel Siepmann 9bbd014f0e
Use chromium for jitsi
As I never have video and sound in Firefox right now …
2022-03-30 13:01:30 +02:00
Daniel Siepmann 3ea21f18d1
Switch from Mattermost desktop to web version within chromium
As desktop doesn't send notifications.
2022-03-29 17:39:15 +02:00
Daniel Siepmann 3cd038aeed
Source full directory instead of single file for phpactor
This is a preparation to also eventually add templates subfolder.
This also demonstrates that "source" also can have a folder instead of
single file.
2022-03-28 17:49:58 +02:00
Daniel Siepmann 56c52ad153
Use snap installed Chromium for now
Looks like there was no pre build binary to use.
I therefore switched over to the snap package from Ubuntu.
My machine is not able to build Chromium :D
2022-03-28 08:43:02 +02:00
Daniel Siepmann 992116b57d
Migrate nix and nix registry configuration to home manager module
There is an existing module.
Existing manually written and linked files are replaced with usage of
the module.

This has the advantage that I don't need to know where to place the
files and which format to use.
Furthermore, the module will check whether I've typos in options and
whether values match expected types.
2022-03-24 07:39:56 +01:00
Daniel Siepmann 2e4455a8f9
Install Libre Office
Was installed via apt.
2022-03-21 15:48:52 +01:00
Daniel Siepmann 8448e85bb1
Add xmllint via ale to neovim
Maintain all dependencies via nix / home-manager.
Load xsd schema file.
Define nix xmllint for linting.
2022-03-16 17:12:48 +01:00
Daniel Siepmann 082ad58af1
Migrate neovim setup
I managed my setup manually.
This commit ports the existing setup to home-manager.

The program module is used to install neovim together with plugins.
Custom plugins are now maintained at Gitea / GitHub and loaded via nix as well.
2022-03-12 11:26:32 +01:00
Daniel Siepmann 7c47df37fc
Fix broken ctags configuration location
Place ctags configuration in expected location.
It wasn't loaded due to wrong location.
Do not add typescript as I'm not using typescript anymore on a
professional level.
2022-03-12 11:03:59 +01:00
Daniel Siepmann fb03129a0a
Improve xdg desktop situation
Do not install package which won't work anyway.
Get out of the way for existing apt installed version.
Symlink whole applications folder to not update after each run.
2022-03-11 11:50:38 +01:00
Daniel Siepmann b3fa907571
Fix typo in comment 2022-03-11 11:40:32 +01:00
Daniel Siepmann 4919105362
Migrate web apps to nix setup
Create dedicated xdg desktopEntries to start web apps.
Use chromium where necessary, e.g. due to audio / video experiences.

Start web apps with dedicated Firefox profiles.
Configure those profiles to hide any UI to have an actual app feeling.
2022-03-11 09:52:43 +01:00
Daniel Siepmann a0b6cf5ec9
Add chromium
Necessary for some web apps …
Previously installed via apt.

Add chromedriver for locally acceptance tests.
2022-03-10 17:27:04 +01:00
Daniel Siepmann d0287c7d5b
Add geckodriver
In order to run acceptance tests with firefox locally
Remove no longer to dos
2022-03-10 17:19:10 +01:00
Daniel Siepmann c8df55880c
Add firefox
Previously installed via apt
2022-03-10 17:15:56 +01:00
Daniel Siepmann 592fe1e87e
Add thunderbird
Previously installed via apt
2022-03-10 14:17:35 +01:00
Daniel Siepmann 9a5ddfda91
Add bc (terminal calculator) 2022-03-09 13:26:56 +01:00
Daniel Siepmann f9960b8e61
Add espeak
As it sometimes is helpful to hear text. E.g. on notifications.
2022-02-23 14:54:48 +01:00
Daniel Siepmann a4678d6a8c
Add mutagen (mid3v2 cli tool) 2022-02-21 08:32:11 +01:00
Daniel Siepmann 0f1959978b
Migrate JQ to use home-manager module 2022-02-14 16:06:43 +01:00
Daniel Siepmann 06c64134cf
Small improvements
Use single `inherit` and don't add unnecessary `rec`.
2022-02-14 08:05:23 +01:00
Daniel Siepmann 000b52cced
Migrate update to own package 2022-02-14 08:05:09 +01:00
Daniel Siepmann 51fbae7d71
Move user / system specifics to .profile file instead of .zshrc
This ensures it is properly set on login.
Tools like dmenu and such are properly find when installed by nix.
This was not zsh specific anyway.
2022-02-11 11:35:34 +01:00
Daniel Siepmann a62943d0bb
Configure registry for customer projects
I created a private repository within `registries/customer-projects`.
This holds flakes.
The folder is registered as registry.

That allows to run the following from within a customer project:

    nix run cp\#reuter-phpstan

In order to execute the customer specific application from flake.
2022-02-11 10:03:01 +01:00
Daniel Siepmann 593a1ad7e2
Make use of cachix in order to fetch pre compiled phpcs packages
The phps used via flake for local development of legacy projects
distributed pre build packages via cachix.

Install cachix and add configuration to allow fetching of pre compiled
packages.
2022-02-10 20:38:16 +01:00
Daniel Siepmann 2ba1a01f2c
Migrate borg excludes and installation 2022-02-10 16:19:28 +01:00
Daniel Siepmann 499067899f
Add note about rnix-lsp for autocompletion in neovim
Doesn't work yet for my setup, don't know why.
Still leave it here as a reminder, so I don't need to search again.
2022-02-09 19:42:21 +01:00
Daniel Siepmann 9b435f36c9
Migrate next-cloud environments to list
Thanks to https://framapiaf.org/@julm/107764071641134635 for posting the
suggestion.

This should allow me to remove the first entry, as soon as update
migrates from string to list, which I can suggest via PR.
2022-02-08 20:42:54 +01:00