summaryrefslogtreecommitdiff
path: root/home-modules
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2026-01-02 19:19:51 +0100
committerJakub Stachurski <j.stachurski@student.utwente.nl>2026-01-02 19:19:51 +0100
commitdca35cc9f01b47974783a2ad2f40382ceb364a09 (patch)
treed2d022774fbf1fcdedc98de8ddb23a3d3fbeb150 /home-modules
parentd2b6cf44a3277fd5d04bc10110d344827217e24e (diff)
Fix XDG-Desktop-Portals for real this time!
Includes fixing of some warnings and the addition of rtkit.
Diffstat (limited to 'home-modules')
-rw-r--r--home-modules/desktop/hyprland.nix2
-rw-r--r--home-modules/desktop/wayland/default.nix9
2 files changed, 8 insertions, 3 deletions
diff --git a/home-modules/desktop/hyprland.nix b/home-modules/desktop/hyprland.nix
index f714650..1fdc801 100644
--- a/home-modules/desktop/hyprland.nix
+++ b/home-modules/desktop/hyprland.nix
@@ -13,8 +13,6 @@ with lib;
wofi
hyprshot
networkmanagerapplet
- xdg-desktop-portal-gnome
- xdg-desktop-portal-hyprland
wl-clipboard
brightnessctl
];
diff --git a/home-modules/desktop/wayland/default.nix b/home-modules/desktop/wayland/default.nix
index 30bf34d..87ab13b 100644
--- a/home-modules/desktop/wayland/default.nix
+++ b/home-modules/desktop/wayland/default.nix
@@ -1,7 +1,14 @@
-{ ... }:
+{ pkgs, ... }:
{
imports = [
./waybar.nix
./mako.nix
];
+ xdg.portal = {
+ enable = true;
+ extraPortals = [
+ pkgs.xdg-desktop-portal-gtk
+ ];
+ };
+
}