summary refs log tree commit diff stats
path: root/flatpak.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-01-20 18:37:58 +0100
committersils <sils@sils.li>2023-01-20 18:37:58 +0100
commitca6b58a0f6aee47e7bfb74b74bd6d84b74e73c7a (patch)
tree29436458fbd5a036c1f2173758e6bc1900e66526 /flatpak.nix
parentStructure: Flakeify (diff)
downloadnix-config-ca6b58a0f6aee47e7bfb74b74bd6d84b74e73c7a.tar.gz
nix-config-ca6b58a0f6aee47e7bfb74b74bd6d84b74e73c7a.zip
Fix: declare xdg-portal
This enables the use of a windowmanager
Diffstat (limited to '')
-rw-r--r--flatpak.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/flatpak.nix b/flatpak.nix
index fcc208d..4c4bf7a 100644
--- a/flatpak.nix
+++ b/flatpak.nix
@@ -8,4 +8,8 @@
     device = "/srv/flatpak";
     options = ["bind"];
   };
+  xdg.portal = {
+    enable = true;
+    extraPortals = [pkgs.xdg-desktop-portal-gtk];
+  };
 }