Reformat in preparation for multiple users

This commit is contained in:
Nathan van Doorn 2024-05-31 16:24:04 +00:00
parent f8ab913941
commit 2fb3f631d4
1 changed files with 9 additions and 7 deletions

View File

@ -13,7 +13,8 @@
}; };
# Configuration of individual users # Configuration of individual users
nixosModules.users = {...}: { nixosModules.users = {...}: {
users.users.taneb = { users.users = {
taneb = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
@ -21,6 +22,7 @@
]; ];
hashedPassword = "$y$j9T$9pxQ4Zj7OirGMmgclhUb0/$YCfaYmIaaHRrkqiqdNbQSlJ7puX8bGrMCLavq6Pe1e3"; hashedPassword = "$y$j9T$9pxQ4Zj7OirGMmgclhUb0/$YCfaYmIaaHRrkqiqdNbQSlJ7puX8bGrMCLavq6Pe1e3";
}; };
};
users.mutableUsers = false; users.mutableUsers = false;
}; };
# Configuration of SSH server # Configuration of SSH server