summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 15:14:27 +0200
committerAlan Pearce2017-09-09 16:49:30 +0200
commitab3093dca65fe624c2535a5215b4863b38421595 (patch)
tree8398786914ab7ffddac76ce72d596802d52808b4 /modules
parentcca3a69947eb84d79c5816648cc104ad9b55623f (diff)
downloadnixfiles-ab3093dca65fe624c2535a5215b4863b38421595.tar.lz
nixfiles-ab3093dca65fe624c2535a5215b4863b38421595.tar.zst
nixfiles-ab3093dca65fe624c2535a5215b4863b38421595.zip
Create user module
Diffstat (limited to 'modules')
-rw-r--r--modules/user.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/user.nix b/modules/user.nix
new file mode 100644
index 00000000..1b2b6747
--- /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;
+  };
+}