move ssh public keys into vars
This commit is contained in:
parent
63fbe20d51
commit
66fc4a96b3
5 changed files with 20 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
self,
|
||||
vars,
|
||||
...
|
||||
}: {
|
||||
nix.settings.trusted-users = ["deploy"]; # trust closures created by our user
|
||||
|
@ -18,9 +18,10 @@
|
|||
password = lib.mkForce null;
|
||||
passwordFile = lib.mkForce null;
|
||||
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
(self + /sshKeys/xun_nixdesk)
|
||||
(self + /sshKeys/alka_alkpc)
|
||||
openssh.authorizedKeys.keys = with vars.sshKeys; [
|
||||
xun_nixdesk
|
||||
xun_redmi
|
||||
alka_alkpc
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue