summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorsbh69840 <sbh69840@gmail.com>2023-05-10 19:35:23 +0530
committersbh69840 <sbh69840@gmail.com>2023-05-10 19:35:23 +0530
commitecb5840f6bc2cdb453bbc0dbbd8f63ec441808d6 (patch)
tree903c65511e4a108ce539fa6f0a75b3398f8b34c7 /modules
parent64a15676ac5b7cb8990d683f19ad78ac9a6bc4ef (diff)
enable copy
Diffstat (limited to 'modules')
-rw-r--r--modules/programs/ssh/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/programs/ssh/default.nix b/modules/programs/ssh/default.nix
index 2c0117c..7797e4d 100644
--- a/modules/programs/ssh/default.nix
+++ b/modules/programs/ssh/default.nix
@@ -80,6 +80,7 @@ let
};
authKeysFiles = let
mkAuthKeyFile = u: nameValuePair "ssh/authorized_keys.d/${u.name}" {
+ copy = true;
text = ''
${concatStringsSep "\n" u.openssh.authorizedKeys.keys}
${concatMapStrings (f: readFile f + "\n") u.openssh.authorizedKeys.keyFiles}