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 | |
parent | cca3a69947eb84d79c5816648cc104ad9b55623f (diff) | |
download | nixfiles-ab3093dca65fe624c2535a5215b4863b38421595.tar.lz nixfiles-ab3093dca65fe624c2535a5215b4863b38421595.tar.zst nixfiles-ab3093dca65fe624c2535a5215b4863b38421595.zip |
Create user module
-rw-r--r-- | modules/user.nix | 11 | ||||
-rw-r--r-- | satoshipad.nix | 1 |
2 files changed, 12 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; + }; +} diff --git a/satoshipad.nix b/satoshipad.nix index b5178ca1..3d97e5e9 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"; |