summaryrefslogtreecommitdiff
path: root/modules/lib
diff options
context:
space:
mode:
authorMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-16 22:22:34 +0100
committerGitHub <noreply@github.com>2025-01-16 22:22:34 +0100
commit8e7bd91f353caacc0bc4105f573eb3e17f09e03a (patch)
treec5059edcbebd9644290cad7c653c49a36d593021 /modules/lib
parent6bd39d420578aacf7c0bab7de3e7027b952115ae (diff)
parentbd921223ba7cdac346477d7ea5204d6f4736fcc6 (diff)
Merge branch 'LnL7:master' into masterHEADmaster
Diffstat (limited to 'modules/lib')
-rw-r--r--modules/lib/write-text.nix16
1 files changed, 4 insertions, 12 deletions
diff --git a/modules/lib/write-text.nix b/modules/lib/write-text.nix
index b8f2ad5..ddf4076 100644
--- a/modules/lib/write-text.nix
+++ b/modules/lib/write-text.nix
@@ -16,7 +16,7 @@ in
enable = mkOption {
type = types.bool;
default = true;
- description = lib.mdDoc ''
+ description = ''
Whether this file should be generated.
This option allows specific files to be disabled.
'';
@@ -25,7 +25,7 @@ in
text = mkOption {
type = types.lines;
default = "";
- description = lib.mdDoc ''
+ description = ''
Text of the file.
'';
};
@@ -33,26 +33,18 @@ in
target = mkOption {
type = types.str;
default = name;
- description = lib.mdDoc ''
+ description = ''
Name of symlink. Defaults to the attribute name.
'';
};
source = mkOption {
type = types.path;
- description = lib.mdDoc ''
+ description = ''
Path of the source file.
'';
};
- copy = mkOption {
- type = types.bool;
- default = false;
- description = lib.mdDoc ''
- Whether this file should be copied instead of symlinking.
- '';
- };
-
knownSha256Hashes = mkOption {
internal = true;
type = types.listOf types.str;