From 35a423d3d1318a164c9e80548b7deb8b8350bed5 Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 12 Apr 2023 12:17:35 +0200 Subject: Fix(hm/wms/river): Activate wlr xdg portal --- system/services/default.nix | 1 + system/services/xdg/default.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 system/services/xdg/default.nix (limited to 'system') diff --git a/system/services/default.nix b/system/services/default.nix index cb5616d0..514ff604 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -7,6 +7,7 @@ ./dconf ./openssh ./backup + ./xdg ./swaylock ]; } diff --git a/system/services/xdg/default.nix b/system/services/xdg/default.nix new file mode 100644 index 00000000..3b0233a2 --- /dev/null +++ b/system/services/xdg/default.nix @@ -0,0 +1,12 @@ +# vim: ts=2 +{pkgs, ...}: { + xdg = { + portal = { + enable = true; + # TODO only enable the below, when on river (or wlr based compositor) + wlr.enable = true; + extraPortals = [pkgs.xdg-desktop-portal-wlr]; + }; + }; + # TODO mime = {}; +} -- cgit 1.4.1