auto: bootstrapping sparky

This commit is contained in:
Sam 2024-05-22 20:34:18 +01:00
parent b482071005
commit 871d4f7256
2 changed files with 4 additions and 2 deletions

View File

@ -17,9 +17,10 @@ in
];
users = {
mutableUsers = false;
mutableUsers = true;
extraUsers = {
root = {
initialPassword = "1234";
hashedPasswordFile = sopsHashedPasswordFile;
};
};

View File

@ -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);