refactor
This commit is contained in:
parent
7406d068b4
commit
ec45f12c12
16 changed files with 217 additions and 34 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue