diff options
-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 = {}; +} |