diff --git a/machines/Sheol/impermanence.nix b/machines/Sheol/impermanence.nix index d1324c0..871e44b 100644 --- a/machines/Sheol/impermanence.nix +++ b/machines/Sheol/impermanence.nix @@ -21,5 +21,21 @@ "/etc/ssh/ssh_host_rsa_key.pub" "/var/lib/sops-nix/key.txt" ]; + users.derped = { + directories = [ + ".local/state" + { + directory = ".gnupg"; + mode = "0700"; + } + { + directory = ".ssh"; + mode = "0700"; + } + ]; + }; }; + system.activationScripts.profile-init.text = '' + ln -sfn /home/derped/.local/state/nix/profiles/profile /home/derped/.nix-profile + ''; }