From c26950fc2f4b07b99d4a7936e29972bc9cf35d36 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 28 Apr 2023 11:49:38 +0100 Subject: [PATCH] Fix broken swaylock config Had swaylock enable key in wrong place --- nixos/home/desktop/wayland/common.nix | 32 ++++++++++++++------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/nixos/home/desktop/wayland/common.nix b/nixos/home/desktop/wayland/common.nix index a56f57fe..b91f0142 100644 --- a/nixos/home/desktop/wayland/common.nix +++ b/nixos/home/desktop/wayland/common.nix @@ -16,23 +16,25 @@ jq socat ]; - programs.swaylock.settings = { + programs.swaylock = { enable = true; - screenshots = true; - clock = true; - indicator = true; - indicator-radius = 100; - indicator-thickness = 7; - effect-blur = "7x5"; - effect-vignette = "0.5:0.5"; - ring-color = "bb00cc"; - key-hl-color = "00000000"; - line-color = "00000088"; - separator-color = "00000000"; - grace = 2; - fade-in = 0.2; + package = pkgs.swaylock-effects; + settings = { + screenshots = true; + clock = true; + indicator = true; + indicator-radius = 100; + indicator-thickness = 7; + effect-blur = "7x5"; + effect-vignette = "0.5:0.5"; + ring-color = "bb00cc"; + key-hl-color = "00000000"; + line-color = "00000088"; + separator-color = "00000000"; + grace = 2; + fade-in = 0.2; + }; }; - programs.swaylock.package = pkgs.swaylock-effects; programs.eww = { enable = true; package = pkgs.eww-wayland;