Nix configurations for my homelab

Downgrade xdg-desktop-portal-wlr to 0.7.1

Version 0.8.0 has a regression where the output stream is stuttery for
viewers

yemou.pink e1c39922 10716444

verified
Changed files
+16 -1
modules
+16 -1
modules/river.nix
···
);
roc = roc-lang.packages.${prev.system}.default;
roc-lang-server = roc-lang.packages.${prev.system}.lang-server;
+
xdg-desktop-portal-wlr = prev.xdg-desktop-portal-wlr.overrideAttrs (
+
finalAttrs: prevAttrs: {
+
version = "0.7.1";
+
+
src = prev.fetchFromGitHub {
+
owner = "emersion";
+
repo = "xdg-desktop-portal-wlr";
+
rev = "v${finalAttrs.version}";
+
sha256 = "sha256-GIIDeZMIGUiZV0IUhcclRVThE5LKaqVc5VwnNT8beNU=";
+
};
+
}
+
);
})
];
···
};
xdg.portal = {
-
wlr.enable = true;
+
wlr = {
+
enable = true;
+
settings.screencast.max_fps = 60;
+
};
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
config.river = {
default = lib.mkForce "gtk";