summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/user.nix11
-rw-r--r--satoshipad.nix1
2 files changed, 12 insertions, 0 deletions
diff --git a/modules/user.nix b/modules/user.nix
new file mode 100644
index 0000000..1b2b674
--- /dev/null
+++ b/modules/user.nix
@@ -0,0 +1,11 @@
+{ config, pkgs, ... }:
+
+{ users.extraUsers.alan = {
+    description = "Alan Pearce";
+    isNormalUser = true;
+    extraGroups = [ "audio" "wheel" "adbusers" "docker" ];
+    shell = "/run/current-system/sw/bin/zsh";
+    home = "/home/alan";
+    uid = 1000;
+  };
+}
diff --git a/satoshipad.nix b/satoshipad.nix
index b5178ca..3d97e5e 100644
--- a/satoshipad.nix
+++ b/satoshipad.nix
@@ -21,6 +21,7 @@
     ./modules/bare-metal.nix
     ./modules/intel-gpu.nix
     ./modules/t470s.nix
+    ./modules/user.nix
   ];
 
   networking.hostName = "satoshipad";