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;
|
isNormalUser = true;
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel" # Enable ‘sudo’ for the user.
|
"wheel" # Enable ‘sudo’ for the user.
|
||||||
"networkmanager"
|
(lib.mkIf config.networking.networkmanager.enable "networkmanager")
|
||||||
"docker"
|
(lib.mkIf config.virtualisation.docker.enable "docker")
|
||||||
];
|
];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
inherit (secrets) initialHashedPassword;
|
inherit (secrets) initialHashedPassword;
|
||||||
|
|
Loading…
Reference in a new issue