From d734750608841852b121446bb7791cc4e224c257 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Fri, 19 Jul 2019 19:47:02 -0400 Subject: [PATCH] nixos/xdg: default portal from xserver.enable same affect as f84a4ef8924f9e21f653b895723ee75c93b56a27 but we won't need to enable the module independently for DE modules. --- nixos/modules/config/xdg/portal.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/xdg/portal.nix b/nixos/modules/config/xdg/portal.nix index 6a72fab3a4a..4e85bf794da 100644 --- a/nixos/modules/config/xdg/portal.nix +++ b/nixos/modules/config/xdg/portal.nix @@ -4,7 +4,7 @@ with lib; options.xdg.portal = { enable = mkEnableOption "xdg desktop integration"//{ - default = false; + default = config.services.xserver.enable; }; extraPortals = mkOption {