diff --git a/users/simon/modules/sway.nix b/users/simon/modules/sway.nix index 36e7e71..b7bd7da 100644 --- a/users/simon/modules/sway.nix +++ b/users/simon/modules/sway.nix @@ -29,6 +29,16 @@ lib.mkIf nixosConfig.sbruder.gui.enable { enable = true; systemdIntegration = true; + # TODO: remove patch once sway > 1.5.1 is released and in nixpkgs + package = pkgs.sway.override { + sway-unwrapped = pkgs.sway-unwrapped.overrideAttrs (o: o // { + patches = lib.singleton (pkgs.fetchpatch { + url = "https://github.com/swaywm/sway/commit/33b64667ae0bfe9af752cb8c850b4f52b34660d2.patch"; + sha256 = "05s0xhd4wn98insn0wynr359nq938dmc7aa9rmyn7ira78fw40w8"; + }); + }); + }; + config = { modifier = "Mod4";