add user and packages modules

This commit is contained in:
lucy 2026-10-18 11:57:17 +02:00
commit 191cb91501
3 changed files with 74 additions and 0 deletions

13
modules/system/user.nix Normal file
View file

@ -0,0 +1,13 @@
{ ... }: {
flake.nixosModule.user = { pkgs, ... }: {
users.users."lucy" = {
isNormalUser = true;
description = "lucy";
shell = pkgs.zsh;
extraGroups = [
"networkmanager"
"wheel"
];
};
};
}