demonstrate adding ssh keys
This commit is contained in:
parent
beb6e260d4
commit
1c36f1b373
1 changed files with 7 additions and 1 deletions
|
@ -214,7 +214,13 @@ in rec {
|
||||||
watchdog
|
watchdog
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
users.root.passwd = lib.mkForce secrets.root_password;
|
|
||||||
|
users.root = {
|
||||||
|
passwd = lib.mkForce secrets.root_password;
|
||||||
|
# openssh.authorizedKeys.keys = [
|
||||||
|
# (builtins.readFile "/home/dan/.ssh/id_rsa.pub")
|
||||||
|
# ];
|
||||||
|
};
|
||||||
|
|
||||||
users.store = {
|
users.store = {
|
||||||
uid=500; gid=500; gecos="Storage owner"; dir="/srv";
|
uid=500; gid=500; gecos="Storage owner"; dir="/srv";
|
||||||
|
|
Loading…
Reference in a new issue