users/jan: add conditions for extra groups
This commit is contained in:
parent
389fe7413f
commit
5ad41a6a08
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ let secrets = import ./secrets.nix; in
|
|||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel" # Enable ‘sudo’ for the user.
|
||||
"networkmanager"
|
||||
"docker"
|
||||
(lib.mkIf config.networking.networkmanager.enable "networkmanager")
|
||||
(lib.mkIf config.virtualisation.docker.enable "docker")
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
inherit (secrets) initialHashedPassword;
|
||||
|
|
Loading…
Reference in a new issue