move openssh authorized keys to the ssh module
This commit is contained in:
parent
4524fd56ea
commit
260b9b89cf
|
@ -9,6 +9,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
users.users.caspervk = {
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPB/qr63FB0ZqOe/iZGwIKNHD8a1Ud/mXVjQPmpIG7pM caspervk@omega"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII71DKQziktCkyMAmL25QKRK6nG2uJDkQXioIZp5JkMZ caspervk@zeta"
|
||||
];
|
||||
};
|
||||
|
||||
environment.persistence."/nix/persist" = {
|
||||
files = [
|
||||
"/etc/ssh/ssh_host_ed25519_key"
|
||||
|
|
|
@ -23,10 +23,6 @@
|
|||
# todo: systemd-journal, audio, input, power, nix ?
|
||||
];
|
||||
uid = 1000;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPB/qr63FB0ZqOe/iZGwIKNHD8a1Ud/mXVjQPmpIG7pM caspervk@omega"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII71DKQziktCkyMAmL25QKRK6nG2uJDkQXioIZp5JkMZ caspervk@zeta"
|
||||
];
|
||||
packages = with pkgs; [ ];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue