Commit graph

7 commits

Author SHA1 Message Date
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
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
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
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
Renamed from modules/nix/core/users.nix (Browse further)