aboutsummaryrefslogtreecommitdiffstats
path: root/lib/types
diff options
context:
space:
mode:
Diffstat (limited to 'lib/types')
-rw-r--r--lib/types/populate.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/types/populate.nix b/lib/types/populate.nix
index 4523dad..a278ffd 100644
--- a/lib/types/populate.nix
+++ b/lib/types/populate.nix
@@ -125,6 +125,10 @@
path = lib.mkOption {
type = lib.types.absolute-pathname;
};
+ rewriteLock = lib.mkOption {
+ default = true;
+ type = lib.types.bool;
+ };
useChecksum = lib.mkOption {
default = false;
type = lib.types.bool;
@@ -185,6 +189,19 @@
default = {};
type = flake-inputs;
};
+ materialize = lib.mkOption {
+ default = false;
+ type = lib.types.bool;
+ };
+ patches = lib.mkOption {
+ apply = map toString;
+ default = [];
+ type = lib.types.listOf lib.types.path;
+ };
+ rewriteLock = lib.mkOption {
+ default = true;
+ type = lib.types.bool;
+ };
};
};
flake-input = lib.types.submodule {
@@ -200,6 +217,19 @@
default = {};
type = flake-inputs;
};
+ materialize = lib.mkOption {
+ default = false;
+ type = lib.types.bool;
+ };
+ patches = lib.mkOption {
+ apply = map toString;
+ default = [];
+ type = lib.types.listOf lib.types.path;
+ };
+ rewriteLock = lib.mkOption {
+ default = true;
+ type = lib.types.bool;
+ };
name = lib.mkOption {
type = lib.types.str;
};
@@ -224,6 +254,10 @@
ref = lib.mkOption {
type = lib.types.str; # TODO lib.types.git.ref
};
+ rewriteLock = lib.mkOption {
+ default = true;
+ type = lib.types.bool;
+ };
url = lib.mkOption {
type = lib.types.str; # TODO lib.types.git.url
};