Sheol: add impermanence user mounts
This commit is contained in:
parent
f82e8f5cdd
commit
c2c5cdf50b
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue