dotfiles/modules/home/programs/swaylock/default.nix
alejandro-angulo 0f2ac2be9d
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Updated lockfile
2025-01-16 19:04:06 -08:00

20 lines
338 B
Nix

{
config,
lib,
namespace,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.${namespace}.programs.swaylock;
in {
options.${namespace}.programs.swaylock = {
enable = mkEnableOption "swaylock";
};
config = mkIf cfg.enable {
catppuccin.swaylock.enable = true;
programs.swaylock.enable = true;
};
}