mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 04:09:17 -05:00
24 lines
416 B
Nix
24 lines
416 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.ar.home;
|
|
in {
|
|
config = lib.mkIf cfg.apps.swaylock.enable {
|
|
home.packages = with pkgs; [swaylock];
|
|
|
|
programs.swaylock = {
|
|
enable = true;
|
|
settings = {
|
|
daemonize = true;
|
|
indicator-thickness = 20;
|
|
indicator-radius = 120;
|
|
indicator-idle-visible = true;
|
|
indicator-caps-lock = true;
|
|
};
|
|
};
|
|
};
|
|
}
|