Commit graph

14 commits

Author SHA1 Message Date
46c78fe6e1
core/nix: remove unused attribute 2025-02-13 16:42:58 +01:00
4dcf7a0890
modules: move nh from core/nix to programs
This is a user program, it cannot be in core.
2025-02-13 16:42:58 +01:00
7dcc38f6a2
core/users: conditionally enable user options
We don't want to create extra groups on the server user, and we don't
wanna setup hjem for it either.
2025-02-13 16:42:58 +01:00
befd97efe5
core/nix: point NIX_PATH to flake nixpkgs 2025-02-13 16:42:58 +01:00
fabbd78476
treewide: environment.variables -> environment.sessionVariables 2025-02-13 16:42:58 +01:00
45f8e26757
treewide: use hjem fork, remove shared module 2025-02-13 16:42:58 +01:00
8c64859dab
modules: use hjem environment module 2025-02-13 16:42:58 +01:00
c953ba9371
core/hardware/nvidia: add nvidia_drm.fbdev=1 to kernel params (should help wakeup issues) 2025-02-13 16:42:58 +01:00
c39c540a3f
core/hardware: remove uni-sync 2025-02-13 16:42:58 +01:00
a718648ca7
treewide: move FLAKE env variable to core/nix 2025-02-13 16:42:58 +01:00
948f46e401
core/security: add polkit 2025-02-13 16:42:58 +01:00
38fa12f409
core/boot: use stable linux kernel 2025-02-13 16:42:58 +01:00
43bc4fe2a5
treewide: hosts/solaire/config/nvidia -> core/hardware/nvidia 2025-02-13 16:42:58 +01:00
61372c7e34
treewide: remove home-manager (switch to hjem)
As my NixOS configuration kept growing, I noticed that I don't need
home-manager as much as I did before. A lot of what I need is just a way
to map nix attrsets to the program's respective configuration format,
which is something that I can now do myself, as my nix knowledge got
more extensive. After all of this, I decided to completely get rid of
home-manager, and switch to a simpler solution called hjem, which just
lets me write files to my home directory that are automatically
symlinked using `systemd-tmpfiles`.

This allows me to simplify my configuration, remove the separation
between NixOS and home-manager modules, and cut my eval times by quite a
lot (which allows for faster `nixos-rebuild switch`!).
2025-02-13 16:42:54 +01:00