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.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;