Compare commits

..

1 commit

Author SHA1 Message Date
95509a447c Use sops for private key distribution 2024-03-21 18:10:32 +01:00

View file

@ -131,6 +131,14 @@ in {
readWritePaths = ["/home/fsaccount"]; readWritePaths = ["/home/fsaccount"];
}; };
}; };
environment.persistence.${config.impermanence.name} = {
users.fsaccount.files = [
{
file = ".ssh/known_hosts";
parentDirectory = {mode = "u=rwx,g=,o=";};
}
];
};
sops.secrets.backupKey = { sops.secrets.backupKey = {
sopsFile = ../machines/bragi/backupKey.yaml; sopsFile = ../machines/bragi/backupKey.yaml;
path = "/home/fsaccount/.ssh/backupKey"; path = "/home/fsaccount/.ssh/backupKey";