add features.applications.shellScripts option

uses a custom function from my helper flake to convert a basic attrset of strings into a format `home.file` will accept
This commit is contained in:
greyweather committed 2026-08-30 02:54:08 +01:00
1 parent 06e958ae71
commit 023fc0c424
7 files changed
+69 -34

No files matched your search

+6
View File
@@ -24,6 +24,12 @@
username = "grey";
homeDirectory = "/home/${config.home.username}";
file = inputs.helpers.homeFilesFromStringAttrs {
dir = ".local/bin";
attrs = config.features.applications.shellScripts;
exec = true;
};
};
xdg = {
+10 -3
View File
@@ -56,9 +56,16 @@
};
};
features.applications.extraPackages = lib.mkOption {
type = lib.types.listOf (lib.types.package);
default = [];
features.applications = {
shellScripts = lib.mkOption {
type = lib.types.attrsOf (lib.types.str);
default = [];
};
extraPackages = lib.mkOption {
type = lib.types.listOf (lib.types.package);
default = [];
};
};
};
};