This commit is contained in:
Lilith 2025-08-21 23:08:07 +02:00
parent 7406d068b4
commit ec45f12c12
No known key found for this signature in database
GPG key ID: 272C807BD91F8446
16 changed files with 217 additions and 34 deletions

View file

@ -13,6 +13,8 @@ in
"networkmanager"
];
hashedPasswordFile = config.sops.secrets."user/password".path;
# openssh.authorizedKeys.keyFiles = [ config.sops.secrets."user/ssh/authorized" ];
};
nixremote = {
@ -41,6 +43,9 @@ in
path = "/home/lilith/.ssh/id_ed25519.pub";
owner = "lilith";
};
"user/ssh/authorized" = {
sopsFile = ../../hosts/${host}/secrets/default.yaml;
};
"ssh/nixremote/private" = {
sopsFile = ../../secrets/default.yaml;
path = "/root/.ssh/nixremote";