fix(niri): attempt to fix xdg.portal

This commit is contained in:
Nickolaj Jepsen 2025-08-23 22:42:48 +02:00
parent 427bb42998
commit f63b27b774

View file

@ -98,6 +98,12 @@ in {
}''; }'';
}; };
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk];
config.common.default = "gnome";
xdgOpenUsePortal = true;
};
programs.niri = { programs.niri = {
enable = true; enable = true;
package = inputs.niri.packages."${pkgs.system}".niri-unstable; package = inputs.niri.packages."${pkgs.system}".niri-unstable;
@ -111,6 +117,10 @@ in {
{command = ["systemctl" "--user" "start" "mako"];} {command = ["systemctl" "--user" "start" "mako"];}
{command = ["systemctl" "--user" "start" "waybar"];} {command = ["systemctl" "--user" "start" "waybar"];}
]; ];
environment = {
NIXOS_OZONE_WL = "1";
GDK_BACKEND = "wayland"; # Attempt to fix screen recording issue
};
layout = { layout = {
gaps = 10; gaps = 10;
focus-ring.enable = false; focus-ring.enable = false;