fix(desktop): fix xdg-wlr file creation

This commit is contained in:
Yorick Barbanneau 2025-08-27 22:50:07 +02:00
parent 3ebb38d6d4
commit 720bd2f391
Signed by: ephase
GPG key ID: 246042E52B41FFCF

View file

@ -201,11 +201,13 @@ in
# When using `useDistributionPackage`, create wlr configuration to let user # When using `useDistributionPackage`, create wlr configuration to let user
# choose the right screen. This is a workarount to not have to configure # choose the right screen. This is a workarount to not have to configure
# it manually. # it manually.
home.file."${config.xdg.configHome}/xdg-desktop-portal-wlr/config".text = mkIf cfg.xdg.useDistributionPortals '' home.file = mkIf cfg.xdg.useDistributionPortals {
"${config.xdg.configHome}/xdg-desktop-portal-wlr/config".text = ''
[screencast] [screencast]
max_fps=30 max_fps=30
chooser_type=simple chooser_type=simple
chooser_cmd=${pkgs.slurp}/bin/slurp -f %o -or chooser_cmd=${pkgs.slurp}/bin/slurp -f %o -or
''; '';
}; };
};
} }