diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-07-22 19:25:41 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-07-22 19:25:41 -0700 |
| commit | e83e084c5968ac53af169e1e67e9bb2895a723aa (patch) | |
| tree | 7cf898c4cfee9fcffe0540df70d393719000a2b7 /hosts/copenhagen | |
| parent | f7ccee6cbe35fbc8026d3f9d8403a08d9d9a1c48 (diff) | |
Enable home manager for c on copenhagen
Diffstat (limited to 'hosts/copenhagen')
| -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 + ]; +} |