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,4 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
vars,
|
||||
...
|
||||
}: {
|
||||
users.users.xun = {
|
||||
isNormalUser = true;
|
||||
initialPassword = "nixos";
|
||||
|
@ -12,5 +16,10 @@
|
|||
"render"
|
||||
"audio"
|
||||
];
|
||||
|
||||
openssh.authorizedKeys.keys = with vars.sshKeys; [
|
||||
xun_nixdesk
|
||||
xun_redmi
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue