nixos: fix sway on xdg.portal.wlr screensharing

This commit is contained in:
genofire 2021-11-13 22:07:35 +01:00
parent 5786aded9d
commit 1caa0314e1
1 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,14 @@
slurp slurp
]; ];
}; };
xdg.portal.wlr = {
enable = true;
settings.screencast = {
chooser_type = "simple";
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
};
};
# done my sway: # done my sway:
# security.pam.services.swaylock = {}; # security.pam.services.swaylock = {};
# hardware.opengl.enable = true; # hardware.opengl.enable = true;