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;