diff options
author | Soispha <soispha@vhack.eu> | 2023-04-12 12:17:35 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-09 19:30:28 +0200 |
commit | 35a423d3d1318a164c9e80548b7deb8b8350bed5 (patch) | |
tree | c9420c04bb943575e5bba44e6463e366172749f1 | |
parent | Fix(hm/conf/swaylock): Pam permission issue (diff) | |
download | nixos-config-35a423d3d1318a164c9e80548b7deb8b8350bed5.tar.gz nixos-config-35a423d3d1318a164c9e80548b7deb8b8350bed5.zip |
Fix(hm/wms/river): Activate wlr xdg portal
Diffstat (limited to '')
-rw-r--r-- | system/services/default.nix | 1 | ||||
-rw-r--r-- | system/services/xdg/default.nix | 12 |
2 files changed, 13 insertions, 0 deletions
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 = {}; +} |