alejandro-angulo
0f2ac2be9d
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
20 lines
338 B
Nix
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;
|
|
};
|
|
}
|