feat: move scripts to cross-platform

This commit is contained in:
CronyAkatsuki 2025-03-30 18:51:48 +02:00
parent 7a20e3c6ac
commit b47f4adb76
6 changed files with 2 additions and 2 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;})
];
};
}