Compare commits

..

1 commit

Author SHA1 Message Date
6625e82d12 Use sops for private key distribution 2024-03-21 19:32:01 +01:00

View file

@ -132,10 +132,23 @@ in {
};
};
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 = [
{
directory = ".ssh"; # SSH Key with access to FS Account and known_hosts
mode = "u=rwx,g=,o=";
file = ".ssh/known_hosts";
parentDirectory = {
mode = "u=rwx,g=,o=";
user = "fsaccount";
group = "users";
};
}
];
};