i am an idiot, i forgot to remove the xdg portal config in configuration.nix on apollo, this broke screensharing
This commit is contained in:
parent
d28b00841c
commit
4d2554aae8
12 changed files with 418 additions and 35 deletions
|
|
@ -22,6 +22,8 @@
|
|||
services.wivrn.openFirewall = true;
|
||||
services.wivrn.defaultRuntime = true;
|
||||
programs.steam.extraCompatPackages = with pkgs; [ proton-ge-rtsp-bin ];
|
||||
environment.pathsToLink = [ "/share/xdg-desktop-portal" ];
|
||||
|
||||
|
||||
powerManagement.cpuFreqGovernor = "performance";
|
||||
# Bootloader.
|
||||
|
|
@ -107,18 +109,6 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0666
|
|||
layout = "us";
|
||||
variant = "";
|
||||
};
|
||||
xdg.portal.config.common.default = "*";
|
||||
xdg.portal.wlr = {
|
||||
enable = true;
|
||||
settings = {
|
||||
screencast = {
|
||||
chooser_type = "simple";
|
||||
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
|
||||
exec_before = "${lib.getExe' pkgs.swaynotificationcenter "swaync-client"} --dnd-on --skip-wait";
|
||||
exec_after = "${lib.getExe' pkgs.swaynotificationcenter "swaync-client"} --dnd-off --skip-wait";
|
||||
};
|
||||
};
|
||||
};
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
nixpkgs.overlays = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue