summaryrefslogtreecommitdiff
path: root/modules/lib/write-text.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lib/write-text.nix')
-rw-r--r--modules/lib/write-text.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/lib/write-text.nix b/modules/lib/write-text.nix
index ddf4076..2fe02af 100644
--- a/modules/lib/write-text.nix
+++ b/modules/lib/write-text.nix
@@ -45,6 +45,14 @@ in
'';
};
+ copy = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether this file should be copied instead of symlinking.
+ '';
+ };
+
knownSha256Hashes = mkOption {
internal = true;
type = types.listOf types.str;