summaryrefslogtreecommitdiff
path: root/home/wayland/modules
diff options
context:
space:
mode:
Diffstat (limited to 'home/wayland/modules')
-rw-r--r--home/wayland/modules/firefox.nix1
-rw-r--r--home/wayland/modules/portal.nix16
2 files changed, 17 insertions, 0 deletions
diff --git a/home/wayland/modules/firefox.nix b/home/wayland/modules/firefox.nix
index 39e0061..a6abfc5 100644
--- a/home/wayland/modules/firefox.nix
+++ b/home/wayland/modules/firefox.nix
@@ -80,6 +80,7 @@
];
};
+ "media.webrtc.camera.allow-pipewire" = true;
"browser.newtabpage.activity-stream.default.sites" = "";
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
};
diff --git a/home/wayland/modules/portal.nix b/home/wayland/modules/portal.nix
new file mode 100644
index 0000000..5cb620c
--- /dev/null
+++ b/home/wayland/modules/portal.nix
@@ -0,0 +1,16 @@
+{ pkgs, ... }: {
+ xdg.portal = {
+ enable = true;
+
+ config.common = {
+ default = "gtk";
+ "org.freedesktop.impl.portal.ScreenCast" = "wlr";
+ "org.freedesktop.impl.portal.Screenshot" = "wlr";
+ };
+
+ extraPortals = with pkgs; [
+ xdg-desktop-portal-wlr
+ xdg-desktop-portal-gtk
+ ];
+ };
+}