summaryrefslogtreecommitdiff
path: root/modules/desktop/wayland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/wayland.nix')
-rw-r--r--modules/desktop/wayland.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/desktop/wayland.nix b/modules/desktop/wayland.nix
index 0b78daf..d7b9651 100644
--- a/modules/desktop/wayland.nix
+++ b/modules/desktop/wayland.nix
@@ -2,5 +2,12 @@
options.addons.desktop.wayland.enable = lib.mkEnableOption "Enable wayland" ;
config = lib.mkIf config.addons.desktop.wayland.enable {
services.displayManager.sddm.wayland.enable = true;
+
+ xdg.portal = {
+ enable = true;
+ extraPortals = [
+ pkgs.xdg-desktop-portal-gtk
+ ];
+ };
};
}