auto: bootstrapping sparky
This commit is contained in:
parent
b482071005
commit
871d4f7256
|
@ -17,9 +17,10 @@ in
|
|||
];
|
||||
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
mutableUsers = true;
|
||||
extraUsers = {
|
||||
root = {
|
||||
initialPassword = "1234";
|
||||
hashedPasswordFile = sopsHashedPasswordFile;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -7,9 +7,10 @@ let
|
|||
in
|
||||
{
|
||||
users.users.sam = {
|
||||
#mutableUsers = false;
|
||||
mutableUsers = true;
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh; # default shell
|
||||
initialPassword = "nixos";
|
||||
hashedPasswordFile = sopsHashedPasswordFile;
|
||||
openssh.authorizedKeys.keys = lib.lists.forEach pubKeys (key: builtins.readFile key);
|
||||
|
||||
|
|
Loading…
Reference in New Issue