aboutsummaryrefslogtreecommitdiffstats
path: root/nixos/users.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/users.nix')
-rw-r--r--nixos/users.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/nixos/users.nix b/nixos/users.nix
new file mode 100644
index 0000000..2327203
--- /dev/null
+++ b/nixos/users.nix
@@ -0,0 +1,22 @@
+{pkgs, ...}: {
+ users = {
+ groups = {
+ grm = {
+ gid = 1000;
+ };
+ };
+
+ users = {
+ grm = {
+ isNormalUser = true;
+ uid = 1000;
+ group = "grm";
+ extraGroups = ["wheel"];
+ createHome = true;
+ home = "/home/grm";
+ initialPassword = "password";
+ shell = pkgs.zsh;
+ };
+ };
+ };
+}