summaryrefslogtreecommitdiff
path: root/modules/lib
diff options
context:
space:
mode:
authorsbh69840 <sbh69840@gmail.com>2023-05-09 15:57:49 +0530
committersbh69840 <sbh69840@gmail.com>2023-05-10 19:28:00 +0530
commit64a15676ac5b7cb8990d683f19ad78ac9a6bc4ef (patch)
treeb71cdcb3137539d4c3deb2e17ca56773ee143c7a /modules/lib
parent379d42fad6bc5c28f79d5f7ff2fa5f1c90cb7bf8 (diff)
support authorized_keys for users
Diffstat (limited to 'modules/lib')
-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;