home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8f0ac72d048c640707b206de5948845e94c2637d
parent 9eee282f90c8bbdf281e820f1114f0a837284277
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 15 Oct 2021 15:57:59 +0200

users/vincent: add to networkmanager conditionnaly

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Musers/vincent/default.nix | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/users/vincent/default.nix b/users/vincent/default.nix @@ -21,7 +21,8 @@ in uid = 1000; description = "Vincent Demeester"; extraGroups = [ "wheel" "input" ] - ++ optionals config.profiles.desktop.enable [ "audio" "video" "networkmanager" ] + ++ optionals config.networking.networkmanager.enable [ "networkmanager" ] + ++ optionals config.profiles.desktop.enable [ "audio" "video" ] ++ optionals config.profiles.scanning.enable [ "lp" "scanner" ] ++ optionals config.networking.networkmanager.enable [ "networkmanager" ] ++ optionals config.virtualisation.docker.enable [ "docker" ] @@ -102,7 +103,7 @@ in home.packages = with pkgs; [ gnome3.zenity oathToolkit ]; }] ++ optionals (versionOlder config.system.nixos.release "21.11") [{ - # FIXME manpages are broken on 21.05 and home-manager (for some reason..) + # manpages are broken on 21.05 and home-manager (for some reason..) manual.manpages.enable = false; }] );