ssh: keys formatting

sh-initrd-on-root
Zynh Ludwig 2024-07-26 03:28:09 -07:00
parent 3a858e68dc
commit 5c08a54f63
1 changed files with 3 additions and 9 deletions

View File

@ -43,15 +43,9 @@ in
sops.secrets = sops.secrets =
let home = config.home.homeDirectory; let home = config.home.homeDirectory;
in lib.mkIf sops { in lib.mkIf sops {
"private_keys/msiserver" = { "private_keys/msiserver".path = "${home}/.ssh/msiserver";
path = "${home}/.ssh/msiserver"; "private_keys/caveserver".path = "${home}/.ssh/caveserver";
}; "ssh_hosts/caveserver".path = "${home}/.ssh/conf.d/caveserver_config";
"private_keys/caveserver" = {
path = "${home}/.ssh/caveserver";
};
"ssh_hosts/caveserver" = {
path = "${home}/.ssh/conf.d/caveserver_config";
};
}; };
}; };
} }