feat: add custom scripts.

This commit is contained in:
CronyAkatsuki 2025-03-18 18:20:13 +01:00
parent 84bf820b93
commit f1c37c598f
4 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
config,
pkgs,
lib,
...
}: {
options = {
crony.scripts.enable = lib.mkEnableOption "Enable my custom scripts";
};
config = lib.mkIf config.crony.scripts.enable {
home.packages = with pkgs; [
(callPackage ./scripts {inherit pkgs;})
];
};
}