{ pkgs, pkgs-unstable, ... }: { programs.swaylock = { enable = true; # swaylock-effects has extra effects like image blur and stuff. package = pkgs-unstable.swaylock-effects; settings = { # All options are of the form . # font-size = 96; show-failed-attempts = true; effect-blur = "20x8"; screenshots = true; clock = true; timestr = "%R"; datestr = "%a, %b %d"; grace = 5; indicator = true; indicator-radius = "130"; indicator-thickness = "12"; indicator-caps-lock = true; disable-caps-lock-text = false; }; }; }