feat: add common delcarations for ny user
This commit is contained in:
parent
d2fe4c6931
commit
35b91db66a
2 changed files with 13 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
||||||
./system/audio.nix
|
./system/audio.nix
|
||||||
./system/mime.nix
|
./system/mime.nix
|
||||||
|
|
||||||
|
./users/ny.nix
|
||||||
|
|
||||||
./nix
|
./nix
|
||||||
./themes
|
./themes
|
||||||
];
|
];
|
||||||
|
|
11
modules/users/ny.nix
Normal file
11
modules/users/ny.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ username, ... }:
|
||||||
|
{
|
||||||
|
users.users.${username} = {
|
||||||
|
isNormalUser = true;
|
||||||
|
createHome = true;
|
||||||
|
useDefaultShell = true;
|
||||||
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue