From 7adc65f4824b8ef95ed00730c9788ddcd07fc774 Mon Sep 17 00:00:00 2001
From: Ingolf Wagner <contact@ingolf-wagner.de>
Date: Sat, 22 Feb 2025 09:07:22 +0700
Subject: [PATCH] :bug: fix build error related to sway lock

---
 flake.lock            | 6 +++---
 flake.nix             | 1 +
 homes/palo/stylix.nix | 2 --
 homes/tina/stylix.nix | 2 --
 4 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/flake.lock b/flake.lock
index 43c67dd..8eb2b75 100644
--- a/flake.lock
+++ b/flake.lock
@@ -595,11 +595,11 @@
         "treefmt-nix": "treefmt-nix_2"
       },
       "locked": {
-        "lastModified": 1739943981,
-        "narHash": "sha256-TUh8qjyr7ql56kBzHgkKUGtgVjtfd6lOym2uxouRYBI=",
+        "lastModified": 1739947726,
+        "narHash": "sha256-5GUrVccTk1iIuM7JbJsTqM57Etxek9ebo6e+loQadus=",
         "owner": "mrvandalo",
         "repo": "nixos-healthchecks",
-        "rev": "5997ffc78fa1d8eee84818fe899cd7f0f8cb0644",
+        "rev": "45da1993e4b568590170cee8d70e7c2266b2f536",
         "type": "github"
       },
       "original": {
diff --git a/flake.nix b/flake.nix
index 1ef51e7..dab84d7 100644
--- a/flake.nix
+++ b/flake.nix
@@ -356,6 +356,7 @@
               # https://github.com/danth/stylix/issues/543
               stylix.targets.hyprpaper.enable = lib.mkForce false;
               stylix.targets.hyprland.enable = lib.mkForce false;
+              stylix.targets.swaylock.enable = lib.mkForce false;
 
               # running into strange problems
               # fixme: remove if possible
diff --git a/homes/palo/stylix.nix b/homes/palo/stylix.nix
index c06d68d..6fb5d06 100644
--- a/homes/palo/stylix.nix
+++ b/homes/palo/stylix.nix
@@ -1,8 +1,6 @@
 { pkgs, config, ... }:
 {
 
-  stylix.targets.swaylock.enable = config.gui.enable;
-
   stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-medium.yaml";
 
   stylix.fonts = {
diff --git a/homes/tina/stylix.nix b/homes/tina/stylix.nix
index d78070b..bca7e70 100644
--- a/homes/tina/stylix.nix
+++ b/homes/tina/stylix.nix
@@ -1,8 +1,6 @@
 { pkgs, config, ... }:
 {
 
-  stylix.targets.swaylock.enable = config.gui.enable;
-
   stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-medium.yaml";
 
   stylix.fonts = {