Browse Source

createhome

master
Juni Kim 2 years ago
parent
commit
b867065c4a
  1. 1
      users.nix

1
users.nix

@ -13,6 +13,7 @@ in
{ manager ? false, name, passwd }: { { manager ? false, name, passwd }: {
isNormalUser = true; isNormalUser = true;
home = "/server/current/${name}"; home = "/server/current/${name}";
createHome = true;
extraGroups = [ "current" ] ++ extraGroups = [ "current" ] ++
(if manager then ["docker" "wheel"] else []); (if manager then ["docker" "wheel"] else []);
shell = pkgs.bash; shell = pkgs.bash;

Loading…
Cancel
Save