Commit graph

116 commits

Author SHA1 Message Date
Daniel Siepmann 446f7fdf0e
Migrate manually installed robo3t to home-manager
The tool wasn't available via apt and was manually installed beforehand.
2022-02-03 09:46:08 +01:00
Daniel Siepmann 4ecb26bfed
Cleanup folder structure for services, systemd and configurations 2022-02-03 09:12:36 +01:00
Daniel Siepmann 654e91ab8b
Migrate tmux setup to home-manager 2022-02-03 09:10:22 +01:00
Daniel Siepmann 459169b9b8
Migrate htop configuration to home-manager
There is a module for htop, so use that one instead of home.file.
The cool thing is: It has "constants" for some strange integer values.
So nix version is actually readable while the generated config is
strange.

That's a cool pro of nix files.
2022-02-02 22:53:03 +01:00
Daniel Siepmann 12e5103903
Migrate silver-searcher setup to home-manager
Yeah the agignore is not that cool, but that's what I had.
Needs some polishing in future.
2022-02-02 22:25:13 +01:00
Daniel Siepmann e8e076d85f
Migrate universal-ctags setup to home-manager
As we add more and more files, move to set with curly braces.
Maybe home-files is a better approach, but not documented and I don't
understand it to well yet. I guess I've to create a derivation which
"builds" all the files. Maybe to complicated right now.

Might also make sense to build modules for such tools in future where I
can configure within nix, just like git.nix, and it will generate the
config. Might be cool for some things where configs might change, but
the actual things to configure might not. The generation of the file can
change within nix, while configuration within nix stays the same?! ;)
2022-02-02 22:19:55 +01:00
Daniel Siepmann 6a67e5df5d
Migrate git setup to home-manager
This was previously done through custom dotfiles.
2022-02-02 21:50:24 +01:00
Daniel Siepmann 1d843a2b68
Initially add .myclirc file 2022-02-02 21:02:07 +01:00
Daniel Siepmann a02f8c3341
Make languageserver service configurable
Do not hard code all values, instead configure them within home.nix.

This is more for learning purposes.
But port and allow might also be changed more frequently in general.
2022-02-02 20:38:24 +01:00
Daniel Siepmann d0ed878cd0
Move last package from nix-env to home-manager (cacert) 2022-02-02 20:27:26 +01:00
Daniel Siepmann fdbb403bce
Add systemd service for languagetool
home-manager doesn't provide a systemd service itself.
That's why we build one ourself.

That also revealed a change in our directory structure.
The structure is now documented within readme.
2022-02-02 18:17:06 +01:00
Daniel Siepmann 11912bef9a
Maintain nix itself with home-manager 2022-02-02 17:41:59 +01:00
Daniel Siepmann b096d6b0db
Move service configuration to separate file
Do not clutter home.nix with endless configurations.
Instead move configuration per derivation to its own file and import.
2022-02-02 17:24:49 +01:00
Daniel Siepmann 749785f9f4
Replace my-packages with home-manager
Move all packages to home.nix and remove `my-packages` derivate.
Also define dunst service and remove readme entry related to
configuration and services. Those are now maintained via home-manager.

The "update" section in readme got updated to reflect new home-manager.
2022-02-02 17:21:27 +01:00
Daniel Siepmann e311c072f3
Install first package via new home-manager
Step by step, test things before doing a huge shift.
2022-02-02 15:51:20 +01:00
Daniel Siepmann b66912985d
Install home-manager
See: https://nix-community.github.io/home-manager/index.html

I'll migrate existing `my-packages` to this tool.
2022-02-02 15:50:53 +01:00