]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Upgrade nixops to latest 19.03 branch
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 25 Apr 2019 23:44:53 +0000 (01:44 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 25 Apr 2019 23:44:53 +0000 (01:44 +0200)
nix_path_env
nixops/modules/ssh/default.nix

index 8e4c84db647a7209f94ee7ceab64913689f2ca54..bd976b6255f399a6f4eb20be23a67bdc1061eabd 100644 (file)
@@ -4,9 +4,9 @@ if [ -z "$NIXOPS_DEPLOYMENT" ]; then
   # This will automatically upgrade to latest version at each build
   nixpkgs="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz"
 else
-  nixpkgs="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171931.3a4ffdd38b5/nixexprs.tar.xz"
+  nixpkgs="https://releases.nixos.org/nixos/19.03/nixos-19.03.172361.cf3e277dd0b/nixexprs.tar.xz"
 fi
-nixpkgsPrevious="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171931.3a4ffdd38b5/nixexprs.tar.xz"
+nixpkgsPrevious="$nixpkgs"
 nixpkgsNext="$nixpkgs"
 export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious"
 
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.