feat: add common delcarations for ny user

This commit is contained in:
Nydragon 2024-09-26 16:01:38 +02:00
parent d2fe4c6931
commit 35b91db66a
Signed by: nydragon
SSH key fingerprint: SHA256:iQnIC12spf4QjWSbarmkD2No1cLMlu6TWoV7K6cYF5g
2 changed files with 13 additions and 0 deletions

View file

@ -22,6 +22,8 @@
./system/audio.nix
./system/mime.nix
./users/ny.nix
./nix
./themes
];

11
modules/users/ny.nix Normal file
View file

@ -0,0 +1,11 @@
{ username, ... }:
{
users.users.${username} = {
isNormalUser = true;
createHome = true;
useDefaultShell = true;
extraGroups = [
"wheel"
];
};
}