diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-13 02:26:54 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-16 01:39:24 +0200 |
commit | da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2 (patch) | |
tree | bd45012713b065829c1991e55d52081a8baef58a /modules/private/ssh | |
parent | bd5c5d4e23ebd3863a960976767ed4a83dfd07fe (diff) | |
download | Nix-da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2.tar.gz Nix-da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2.tar.zst Nix-da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2.zip |
Move secrets to flakes
Diffstat (limited to 'modules/private/ssh')
-rw-r--r-- | modules/private/ssh/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/private/ssh/default.nix b/modules/private/ssh/default.nix index aea3ac0..ca9b6fc 100644 --- a/modules/private/ssh/default.nix +++ b/modules/private/ssh/default.nix | |||
@@ -61,7 +61,7 @@ in | |||
61 | system.activationScripts.sshd = { | 61 | system.activationScripts.sshd = { |
62 | deps = [ "secrets" ]; | 62 | deps = [ "secrets" ]; |
63 | text = '' | 63 | text = '' |
64 | install -Dm400 -o nobody -g nogroup -T /var/secrets/ssh-ldap /etc/ssh/ldap_password | 64 | install -Dm400 -o nobody -g nogroup -T ${config.secrets.fullPaths."ssh-ldap"} /etc/ssh/ldap_password |
65 | ''; | 65 | ''; |
66 | }; | 66 | }; |
67 | # ssh is strict about parent directory having correct rights, don't | 67 | # ssh is strict about parent directory having correct rights, don't |