From 483a29579dab2ff7ac192223d0072ebe38616bee Mon Sep 17 00:00:00 2001 From: etwas Date: Thu, 9 Jan 2025 22:37:25 +0100 Subject: [PATCH] feat(wm): add gnome --- home/wm/{hyprland.nix => window-managers.nix} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename home/wm/{hyprland.nix => window-managers.nix} (96%) diff --git a/home/wm/hyprland.nix b/home/wm/window-managers.nix similarity index 96% rename from home/wm/hyprland.nix rename to home/wm/window-managers.nix index 76c526d..45ab186 100644 --- a/home/wm/hyprland.nix +++ b/home/wm/window-managers.nix @@ -216,6 +216,8 @@ }; }; + services.xserver.desktopManager.gnome.enable = true; + xdg = { userDirs = { enable = true; @@ -228,8 +230,10 @@ xdgOpenUsePortal = true; - extraPortals = [ - pkgs.xdg-desktop-portal-hyprland + extraPortals = lib.mkForce [ + pkgs.xdg-desktop-portal-gtk # For both + pkgs.xdg-desktop-portal-hyprland # For Hyprland + pkgs.xdg-desktop-portal-gnome # For GNOME ]; config.common.default = "*";