add user and packages modules
This commit is contained in:
parent
51dfab0d4d
commit
191cb91501
3 changed files with 74 additions and 0 deletions
13
modules/system/user.nix
Normal file
13
modules/system/user.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ ... }: {
|
||||
flake.nixosModule.user = { pkgs, ... }: {
|
||||
users.users."lucy" = {
|
||||
isNormalUser = true;
|
||||
description = "lucy";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue