diff options
author | Alan Pearce | 2017-09-09 15:14:27 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-09 16:49:30 +0200 |
commit | ab3093dca65fe624c2535a5215b4863b38421595 (patch) | |
tree | 8398786914ab7ffddac76ce72d596802d52808b4 /modules | |
parent | cca3a69947eb84d79c5816648cc104ad9b55623f (diff) | |
download | nixfiles-ab3093dca65fe624c2535a5215b4863b38421595.tar.lz nixfiles-ab3093dca65fe624c2535a5215b4863b38421595.tar.zst nixfiles-ab3093dca65fe624c2535a5215b4863b38421595.zip |
Create user module
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user.nix | 11 |
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; + }; +} |