about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-27 11:42:29 +0900
committersefidel <contact@sefidel.net>2023-09-01 16:18:03 +0900
commit164075ea0ed451b1ccb094921a1d3383816dee1e (patch)
treefff9ae8fec597da1ee2d34adf2a2a7407b5067c6 /home
parenta18011dcfb3cd6e568ca355770d070586023e5ea (diff)
downloadnixrc-164075ea0ed451b1ccb094921a1d3383816dee1e.tar.gz
nixrc-164075ea0ed451b1ccb094921a1d3383816dee1e.zip
fix(home/gui): use master swaylock-effects
Diffstat (limited to 'home')
-rw-r--r--home/profiles/gui/default.nix13
1 files changed, 11 insertions, 2 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index 0927d1a..1ae0edb 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -53,7 +53,6 @@ in
     home.packages = [
       # Sway
       pkgs.autotiling
-      pkgs.swaylock-effects
       pkgs.swaybg
       pkgs.wayland-utils
       pkgs.wl-clipboard
@@ -123,7 +122,17 @@ in
 
       swayidle =
         let
-          lockCommand = ''${pkgs.swaylock-effects}/bin/swaylock \
+          # TODO: remove when >1.6.11
+          # Fixes frequent RSOD
+          swaylock-effects = pkgs.swaylock-effects.overrideAttrs {
+            src = pkgs.fetchFromGitHub {
+              owner = "jirutka";
+              repo = "swaylock-effects";
+              rev = "7c5681ce96587ce3090c6698501faeccdfdc157d";
+              sha256 = "sha256-09Kq90wIIF9lPjiY2anf9MSgi/EqeXKXW1mFmhxA/aM=";
+            };
+          };
+          lockCommand = ''${swaylock-effects}/bin/swaylock \
             --daemonize \
             --screenshots \
             --clock \