summaryrefslogtreecommitdiff
path: root/modules/lib
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2023-05-15 11:59:31 +0100
committerGitHub <noreply@github.com>2023-05-15 11:59:31 +0100
commit0dbf1c2fb1a5a0372a324eff1ba44f9da66febd2 (patch)
tree535d771ee4325f365365e9093a04e411fe2480e8 /modules/lib
parent252541bd05a7f55f3704a3d014ad1badc1e3360d (diff)
parent3d22883cdb4226306be7583f5513b3ca23a72e24 (diff)
Merge pull request #654 from shivaraj-bh/authorized-keys
Manage SSH 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;