dotfiles/user-modules/desktop/lock-screen/waylock.nix

21 lines
245 B
Nix

{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.modules.waylock;
in
{
options.modules.waylock = {
enable = mkEnableOption "waylock";
};
config = {
home.packages = mkIf cfg.enable (with pkgs; [ waylock ]);
};
}