nixcfg/homeManagerModules/apps/swaylock/default.nix

24 lines
416 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}: let
cfg = config.ar.home;
in {
config = lib.mkIf cfg.apps.swaylock.enable {
home.packages = with pkgs; [swaylock];
2024-08-15 08:57:11 -04:00
programs.swaylock = {
enable = true;
settings = {
daemonize = true;
indicator-thickness = 20;
indicator-radius = 120;
indicator-idle-visible = true;
indicator-caps-lock = true;
};
};
};
}