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,13 +13,15 @@
}; };
# Configuration of individual users # Configuration of individual users
nixosModules.users = {...}: { nixosModules.users = {...}: {
users.users.taneb = { users.users = {
isNormalUser = true; taneb = {
extraGroups = [ "wheel" ]; isNormalUser = true;
openssh.authorizedKeys.keys = [ extraGroups = [ "wheel" ];
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIV9ymP4tpq11a8wfUvn8eEEwAPvZZSPZTbASLh7YxOw nvd1234@gmail.com" openssh.authorizedKeys.keys = [
]; "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIV9ymP4tpq11a8wfUvn8eEEwAPvZZSPZTbASLh7YxOw nvd1234@gmail.com"
hashedPassword = "$y$j9T$9pxQ4Zj7OirGMmgclhUb0/$YCfaYmIaaHRrkqiqdNbQSlJ7puX8bGrMCLavq6Pe1e3"; ];
hashedPassword = "$y$j9T$9pxQ4Zj7OirGMmgclhUb0/$YCfaYmIaaHRrkqiqdNbQSlJ7puX8bGrMCLavq6Pe1e3";
};
}; };
users.mutableUsers = false; users.mutableUsers = false;
}; };