move outputs into a module

This commit is contained in:
Daniel Barlow
2023-02-10 23:10:44 +00:00
parent 0a06319d0c
commit 1a08aaad01
6 changed files with 108 additions and 76 deletions

View File

@@ -29,7 +29,13 @@ in {
default = "true";
type = types.lines;
} ;
dts = mkOption { type = types.path; };
dts = {
src = mkOption { type = types.path; };
includes = mkOption {
default = [];
type = types.listOf types.path;
};
};
config = mkOption {
# mostly the values are y n or m, but sometimes
# other strings are also used