From 170cc0fc101d041c4f5fac3644caa1b2356b731b Mon Sep 17 00:00:00 2001 From: materus Date: Fri, 29 Mar 2024 15:01:25 +0100 Subject: [PATCH] materusPC: xdg changes --- configurations/host/materusPC/home/materus/default.nix | 4 +++- configurations/profile/home/xdg.nix | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configurations/host/materusPC/home/materus/default.nix b/configurations/host/materusPC/home/materus/default.nix index ecbd869..d5f4166 100644 --- a/configurations/host/materusPC/home/materus/default.nix +++ b/configurations/host/materusPC/home/materus/default.nix @@ -4,8 +4,10 @@ home.homeDirectory = "/home/materus"; programs.git.signing.signByDefault = true; - xdg.portal.enable = true; + xdg.userDirs.enable = true; + xdg.portal.enable = true; + xdg.portal.xdgOpenUsePortal = true; xdg.portal.extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ]; xdg.portal.configPackages = [ pkgs.kdePackages.xdg-desktop-portal-kde ]; materus.profile = { diff --git a/configurations/profile/home/xdg.nix b/configurations/profile/home/xdg.nix index 4689fa8..75bf18b 100644 --- a/configurations/profile/home/xdg.nix +++ b/configurations/profile/home/xdg.nix @@ -12,8 +12,6 @@ in lib.mkIf cfg.enable { xdg.enable = true; - xdg.portal.enable = lib.mkDefault false; - xdg.portal.xdgOpenUsePortal = lib.mkDefault config.xdg.portal.enable; xdg.userDirs.enable = lib.mkDefault true; xdg.userDirs.createDirectories = lib.mkDefault config.xdg.userDirs.enable;