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

21 lines
245 B
Nix
Raw Normal View History

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