Compare commits

..

1 commit

Author SHA1 Message Date
3a8fd7ee40 Use sops for private key distribution 2024-03-21 19:11:23 +01:00

View file

@ -132,23 +132,10 @@ in {
}; };
}; };
environment.persistence.${config.impermanence.name} = { environment.persistence.${config.impermanence.name} = {
/* users.fsaccount.directories = [
users.fsaccount.directories = [
{
directory = ".ssh"; # SSH Key with access to FS Account and known_hosts
mode = "u=rwx,g=,o=";
}
];
};
*/
users.fsaccount.files = [
{ {
file = ".ssh/known_hosts"; directory = ".ssh"; # SSH Key with access to FS Account and known_hosts
parentDirectory = { mode = "u=rwx,g=,o=";
mode = "u=rwx,g=,o=";
user = "fsaccount";
group = "users";
};
} }
]; ];
}; };