feat(scripts): declare scripts module
check / lint (push) Successful in 47s

This commit is contained in:
2026-10-12 23:28:53 +02:00
parent 14f8c83cf3
commit 034a010547
4 changed files with 43 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{
config,
inputs,
lib,
pkgs,
...
}:
{
options.scripts.enable = lib.mkOption { default = false; };
config = lib.mkIf config.scripts.enable {
home.packages = [ inputs.scripts.packages.${pkgs.stdenv.hostPlatform.system}.default ];
};
}