aboutsummaryrefslogtreecommitdiff
path: root/nixops
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-26 01:44:53 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-26 01:44:53 +0200
commit362d300efa5bca3bb06e525180a4f0158579fd75 (patch)
treeb8b2e99cefa600b89cabf08134c3132c9fd3a777 /nixops
parent8c4f6e37479002818bcfe7381cd4e4b47fd2d1fb (diff)
downloadNix-362d300efa5bca3bb06e525180a4f0158579fd75.tar.gz
Nix-362d300efa5bca3bb06e525180a4f0158579fd75.tar.zst
Nix-362d300efa5bca3bb06e525180a4f0158579fd75.zip
Upgrade nixops to latest 19.03 branch
Diffstat (limited to 'nixops')
-rw-r--r--nixops/modules/ssh/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixops/modules/ssh/default.nix b/nixops/modules/ssh/default.nix
index ece4b9f..81b7751 100644
--- a/nixops/modules/ssh/default.nix
+++ b/nixops/modules/ssh/default.nix
@@ -11,12 +11,12 @@
11 mySecrets.keys = [{ 11 mySecrets.keys = [{
12 dest = "ssh-ldap"; 12 dest = "ssh-ldap";
13 user = "nobody"; 13 user = "nobody";
14 group = "nobody"; 14 group = "nogroup";
15 permissions = "0400"; 15 permissions = "0400";
16 text = myconfig.env.sshd.ldap.password; 16 text = myconfig.env.sshd.ldap.password;
17 }]; 17 }];
18 system.activationScripts.sshd = '' 18 system.activationScripts.sshd = ''
19 install -Dm400 -o nobody -g nobody -T /var/secrets/ssh-ldap /etc/ssh/ldap_password 19 install -Dm400 -o nobody -g nogroup -T /var/secrets/ssh-ldap /etc/ssh/ldap_password
20 ''; 20 '';
21 # ssh is strict about parent directory having correct rights, don't 21 # ssh is strict about parent directory having correct rights, don't
22 # move it in the nix store. 22 # move it in the nix store.