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,7 +132,6 @@ in {
};
};
environment.persistence.${config.impermanence.name} = {
/*
users.fsaccount.directories = [
{
directory = ".ssh"; # SSH Key with access to FS Account and known_hosts
@ -140,18 +139,6 @@ in {
}
];
};
*/
users.fsaccount.files = [
{
file = ".ssh/known_hosts";
parentDirectory = {
mode = "u=rwx,g=,o=";
user = "fsaccount";
group = "users";
};
}
];
};
sops.secrets.backupKey = {
sopsFile = ../machines/bragi/backupKey.yaml;
owner = config.users.users.fsaccount.name;