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;