diff --git a/global/io/default.nix b/global/io/default.nix index d7fb8dbe..13345ac2 100644 --- a/global/io/default.nix +++ b/global/io/default.nix @@ -3,11 +3,12 @@ , config , ... }: with lib; let cfg = config.global.io; + gui = with config.global.gui; enable && session; in { options.global.io = { betaflight = mkEnableOption "betaflight udev rules" // { default = true; }; - bluetooth = mkEnableOption "bluetooth daemons and state persistence" // { default = true; }; - audio = mkEnableOption "pulseaudio server configuration" // { default = true; }; + bluetooth = mkEnableOption "bluetooth daemons and state persistence" // { default = gui; }; + audio = mkEnableOption "pulseaudio server configuration" // { default = gui; }; coredump = mkEnableOption "save coredumps handled by systemd"; };