Commit graph

20 commits

Author SHA1 Message Date
07fbc5de39
flake: add hjem-rum 2025-02-19 17:59:51 +01:00
5a0e7a92f4
core/boot: dont setup systemd-boot on servers 2025-02-18 10:19:45 +01:00
174b6251e8
core/hardware: add bluetooth 2025-02-14 18:55:53 +01:00
c0dda38da1
treewide: export shared/modules/hjem
This method takes inspiration from how
[hjem-rum](https://github.com/snugnug/hjem-rum) does it
2025-02-13 16:42:58 +01:00
1a299516a3
shared/modules/hjem: update environment module to use ~/.profile instead
I decided to go with the simpler solution of using `~/.profile`, as that
is the only option that will ensure that the environment will be set
correctly. If you launch a more barebones compositor such as Hyprland
from your tty, since it won't be launched by systemd it will not inherit
the environment.
2025-02-13 16:42:58 +01:00
f6fedf748f
treewide: add environment module from hjem PR
This commit adds the module I made for hjem (https://github.com/feel-co/hjem/pull/16). Needs to be removed after it gets merged.
2025-02-13 16:42:58 +01:00
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