about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-03-29 02:06:03 +0900
committersefidel <contact@sefidel.net>2024-03-29 02:06:03 +0900
commitbbb7a88bc96cc0828fdc2bf8ca5672df5bb09ac2 (patch)
tree501c51d428ed9f0160f17e52f3c1a5544b2bceb4
parent29167879c35d76d14fbd48624b4775bb30146e4e (diff)
downloadnixrc-bbb7a88bc96cc0828fdc2bf8ca5672df5bb09ac2.tar.gz
nixrc-bbb7a88bc96cc0828fdc2bf8ca5672df5bb09ac2.zip
fix(home/sefidel@haruka): fix fractional scaling on sway
* Pin sway to v1.8.1 for now
-rw-r--r--home/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix
index b19204c..f37beae 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -46,6 +46,13 @@
         helix.overlays.default
         nur.overlay
         nixpkgs-wayland.overlay
+        # TODO: fractional scaling is broken on 1.8+
+        (final: prev:
+        let
+          nixpkgs2311 = import nixpkgs-2311 { system = "x86_64-linux"; };
+        in {
+          sway-unwrapped = nixpkgs2311.pkgs.sway-unwrapped;
+         })
       ];
     };