{ theme, ... }: let n = theme.paletteNoHash; in { programs.swaylock = { enable = true; settings = { color = n.darkestGray; ignore-empty-password = true; inside-caps-lock-color = n.darkestGray; inside-clear-color = n.darkestGray; inside-color = n.darkestGray; inside-ver-color = n.darkestGray; inside-wrong-color = n.darkestGray; indicator-caps-lock = true; key-hl-color = n.green; layout-bg-color = n.darkestGray; layout-border-color = n.darkerGray; layout-text-color = n.lightGray; line-uses-inside = true; ring-caps-lock-color = n.darkerGray; ring-clear-color = n.red; ring-color = n.darkerGray; ring-ver-color = n.green; ring-wrong-color = n.red; scaling = "fill"; separator-color = "00000000"; text-caps-lock-color = n.lightGray; text-clear-color = n.lightGray; text-color = n.lightGray; text-ver-color = n.lightGray; text-wrong-color = n.lightGray; }; }; }