diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/copenhagen/configuration.nix | 7 | ||||
| -rw-r--r-- | hosts/copenhagen/home/c.nix | 23 |
2 files changed, 30 insertions, 0 deletions
diff --git a/hosts/copenhagen/configuration.nix b/hosts/copenhagen/configuration.nix index 9f3b721..1335a66 100644 --- a/hosts/copenhagen/configuration.nix +++ b/hosts/copenhagen/configuration.nix @@ -48,6 +48,13 @@ }; }; + home-manager = { + extraSpecialArgs = { inherit inputs; }; + users = { + "c" = import ./home/c.nix; + }; + }; + roles = { minecraft = { enable = true; diff --git a/hosts/copenhagen/home/c.nix b/hosts/copenhagen/home/c.nix new file mode 100644 index 0000000..1190c0f --- /dev/null +++ b/hosts/copenhagen/home/c.nix @@ -0,0 +1,23 @@ +{ lib, pkgs, inputs, config, ...}: + +{ + imports = [ + inputs.impermanence.nixosModules.home-manager.impermanence + ]; + + home.stateVersion = "23.11"; + + home.persistence."/persist/home/c" = { + directories = [ + ".gnupg" + ".ssh" + + ".local/bin" + ]; + allowOther = true; + }; + + home.packages = with pkgs; [ + cloc + ]; +} |