dotfiles/modules/home/programs/swaylock/default.nix

22 lines
348 B
Nix
Raw Normal View History

2024-08-03 03:49:25 +00:00
{
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 {
programs.swaylock = {
enable = true;
2024-08-12 02:21:41 +00:00
catppuccin.enable = true;
2024-08-03 03:49:25 +00:00
};
};
}