From e27ef9ed340a43b4e40734a8d6c3bc23400b3b32 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Wed, 11 Feb 2026 16:20:30 -0500 Subject: [PATCH] fix: hyprland desktop for osc codes --- hosts/xps15/configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/xps15/configuration.nix b/hosts/xps15/configuration.nix index 79664cc..1d201d9 100644 --- a/hosts/xps15/configuration.nix +++ b/hosts/xps15/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ config, lib, pkgs, ... }: { imports = [ @@ -113,12 +113,15 @@ virtualisation.libvirtd.enable = true; programs.virt-manager.enable = true; - xdg.portal = { + xdg.portal = lib.mkIf config.programs.hyprland.enable { enable = true; extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ]; + config.common = { + default = [ "hyprland" "gtk" ]; + }; }; security.sudo.enable = true;