From 9c92ddc0f5839cc630d0f5bfdd41d23ef987a9f2 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Tue, 13 Sep 2022 14:15:20 +0100 Subject: [PATCH] home-manager/gui: Ensure pavucontrol is not installed on Darwin --- home-manager/modules/gui/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/modules/gui/default.nix b/home-manager/modules/gui/default.nix index 0576b63..86e16aa 100644 --- a/home-manager/modules/gui/default.nix +++ b/home-manager/modules/gui/default.nix @@ -18,7 +18,6 @@ in (nerdfonts.override { fonts = [ "DroidSansMono" "SourceCodePro" ]; }) - pavucontrol ]; }; @@ -31,7 +30,7 @@ in }; }; } - (mkIf cfg.standalone { + (mkIf (cfg.standalone && !pkgs.stdenv.isDarwin) { systemd.user = { services = { wait-for-sway = { @@ -73,6 +72,7 @@ in packages = with pkgs; [ wtype wl-clipboard + pavucontrol ]; pointerCursor = {