From 35b91db66a1c4f0c766ce5aa22ad2e23db679552 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Thu, 26 Sep 2024 16:01:38 +0200 Subject: [PATCH] feat: add common delcarations for ny user --- modules/default.nix | 2 ++ modules/users/ny.nix | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 modules/users/ny.nix diff --git a/modules/default.nix b/modules/default.nix index ccd93a1..00e8f4f 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -22,6 +22,8 @@ ./system/audio.nix ./system/mime.nix + ./users/ny.nix + ./nix ./themes ]; diff --git a/modules/users/ny.nix b/modules/users/ny.nix new file mode 100644 index 0000000..2388d0d --- /dev/null +++ b/modules/users/ny.nix @@ -0,0 +1,11 @@ +{ username, ... }: +{ + users.users.${username} = { + isNormalUser = true; + createHome = true; + useDefaultShell = true; + extraGroups = [ + "wheel" + ]; + }; +}