Sheol: add impermanence user mounts

This commit is contained in:
Kevin Baensch 2024-12-31 15:29:22 +01:00
parent f82e8f5cdd
commit c2c5cdf50b
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -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
'';
}