mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
fix(niri): attempt to fix xdg.portal
This commit is contained in:
parent
427bb42998
commit
f63b27b774
1 changed files with 10 additions and 0 deletions
|
|
@ -98,6 +98,12 @@ in {
|
|||
}'';
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
||||
config.common.default = "gnome";
|
||||
xdgOpenUsePortal = true;
|
||||
};
|
||||
programs.niri = {
|
||||
enable = true;
|
||||
package = inputs.niri.packages."${pkgs.system}".niri-unstable;
|
||||
|
|
@ -111,6 +117,10 @@ in {
|
|||
{command = ["systemctl" "--user" "start" "mako"];}
|
||||
{command = ["systemctl" "--user" "start" "waybar"];}
|
||||
];
|
||||
environment = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
GDK_BACKEND = "wayland"; # Attempt to fix screen recording issue
|
||||
};
|
||||
layout = {
|
||||
gaps = 10;
|
||||
focus-ring.enable = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue