fix(steam): hack to work around annoying clipboard thin
This commit is contained in:
@@ -25,6 +25,15 @@ in {
|
||||
extraPackages = with pkgs; [
|
||||
mono gtk3 gtk3-x11 libgdiplus zlib nss SDL2
|
||||
];
|
||||
# Work around xwayland-satellite#252 by clearing the clipboard
|
||||
# before launching Steam.
|
||||
#
|
||||
# https://github.com/Supreeeme/xwayland-satellite/issues/252
|
||||
package = pkgs.steam.override {
|
||||
extraPreBwrapCmds =
|
||||
let wl-copy = lib.getExe' pkgs.wl-clipboard "wl-copy";
|
||||
in "${wl-copy} --clear";
|
||||
};
|
||||
};
|
||||
|
||||
programs.gamemode = {
|
||||
@@ -39,7 +48,8 @@ in {
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
environment.persistence.${config.sydnix.impermanence.persistDirectory}.users =
|
||||
environment.persistence
|
||||
.${config.sydnix.impermanence.persistDirectory}.users =
|
||||
builtins.listToAttrs
|
||||
(builtins.map
|
||||
(user: {
|
||||
|
||||
Reference in New Issue
Block a user