diff options
Diffstat (limited to 'hosts/lilith')
| -rw-r--r-- | hosts/lilith/configuration.nix | 37 | ||||
| -rw-r--r-- | hosts/lilith/home.nix | 34 |
2 files changed, 36 insertions, 35 deletions
diff --git a/hosts/lilith/configuration.nix b/hosts/lilith/configuration.nix index 897fc1d..390a8a3 100644 --- a/hosts/lilith/configuration.nix +++ b/hosts/lilith/configuration.nix @@ -1,10 +1,43 @@ -{ host, username, ... }: +{ + pkgs, + host, + username, + ... +}: { + imports = [ + ../../modules + ]; + users.users.${username}.home = "/Users/${username}"; networking.hostName = host; + home-manager.users.${username} = { + home.username = username; + home.homeDirectory = "/Users/${username}"; + + programs.home-manager.enable = true; + + home.packages = with pkgs; [ + htop + ffmpeg + wget + imagemagick + + gcc + maven + cmake + gnupg + lua + + zathura + + nerd-fonts.symbols-only + ]; + }; + system.primaryUser = username; system.defaults = { dock = { @@ -49,5 +82,7 @@ onActivation.upgrade = true; }; + nx. + system.stateVersion = 5; } diff --git a/hosts/lilith/home.nix b/hosts/lilith/home.nix deleted file mode 100644 index 55af127..0000000 --- a/hosts/lilith/home.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ pkgs, username, ... }: - -{ - imports = [ - ../../modules/home-manager - ]; - - home.username = username; - home.homeDirectory = "/Users/${username}"; - - home.packages = with pkgs; [ - htop - ffmpeg - wget - imagemagick - - gcc - maven - cmake - gnupg - lua - - zathura - - nerd-fonts.symbols-only - ]; - - dev.enable = true; - spicetify.enable = true; - latex.enable = true; - anki.enable = true; - - home.stateVersion = "25.05"; -} |
