]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - nixops/modules/ssh/default.nix
Upgrade nixops to latest 19.03 branch
[perso/Immae/Config/Nix.git] / nixops / modules / ssh / default.nix
index ece4b9ff7518293967ca713d31953dba0c45c244..81b7751b96ddf5e367383c703995c4eeae9c1374 100644 (file)
     mySecrets.keys = [{
       dest = "ssh-ldap";
       user = "nobody";
-      group = "nobody";
+      group = "nogroup";
       permissions = "0400";
       text = myconfig.env.sshd.ldap.password;
     }];
     system.activationScripts.sshd = ''
-      install -Dm400 -o nobody -g nobody -T /var/secrets/ssh-ldap /etc/ssh/ldap_password
+      install -Dm400 -o nobody -g nogroup -T /var/secrets/ssh-ldap /etc/ssh/ldap_password
       '';
     # ssh is strict about parent directory having correct rights, don't
     # move it in the nix store.