From 7123d72902cf46d7480c6bafd974b009de0b87c0 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 13 Jan 2024 11:52:35 +0100 Subject: [PATCH] hosts: desktop: fix swaylock config --- modules/desktop/sway/home.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/modules/desktop/sway/home.nix b/modules/desktop/sway/home.nix index eadb392..1f74ffd 100644 --- a/modules/desktop/sway/home.nix +++ b/modules/desktop/sway/home.nix @@ -258,11 +258,14 @@ ''; }; - programs.swaylock.settings = { - color = "000000"; - image = "$HOME/.config/lockwall"; - indicator-caps-lock = true; - show-keyboard-layout = true; + programs.swaylock = { + enable = true; + settings = { + color = "000000"; + image = "$HOME/.config/lockwall"; + indicator-caps-lock = true; + show-keyboard-layout = true; + }; }; services.swayidle = {