added user
This commit is contained in:
12
modules/user.nix
Normal file
12
modules/user.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{...}: {
|
||||
flake.nixosModules.user = {...}: {
|
||||
users.users.user01 = {
|
||||
isNormalUser = true;
|
||||
initialPassword = "password";
|
||||
extraGroups = [
|
||||
"root"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user