all repos — archive/nixos-configuration @ ab3093dca65fe624c2535a5215b4863b38421595

Superseded by nixfiles

Create user module

Alan Pearce
commit

ab3093dca65fe624c2535a5215b4863b38421595

parent

cca3a69947eb84d79c5816648cc104ad9b55623f

2 files changed, 12 insertions(+), 0 deletions(-)

jump to
A 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; + }; +}
M satoshipad.nixsatoshipad.nix
@@ -21,6 +21,7 @@ ./modules/british-english.nix
./modules/bare-metal.nix ./modules/intel-gpu.nix ./modules/t470s.nix + ./modules/user.nix ]; networking.hostName = "satoshipad";