diff --git a/hosters/hetzner-cloud/nixos-install-hetzner-cloud.sh b/hosters/hetzner-cloud/nixos-install-hetzner-cloud.sh index f8f4e9f..9dabbfc 100644 --- a/hosters/hetzner-cloud/nixos-install-hetzner-cloud.sh +++ b/hosters/hetzner-cloud/nixos-install-hetzner-cloud.sh @@ -66,7 +66,7 @@ echo ' users.users.root.openssh.authorizedKeys.keys = [ # Replace this by your SSH pubkey! - "ssh-rsa AAAAAAAAAAA..." + "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIKJMTVrY0qbJfu2g1TocLxRrYc/AjlnUuR35Y4biaLThAAAABHNzaDo=" ]; } ' >> /mnt/etc/nixos/configuration.nix diff --git a/hosters/hetzner-dedicated/hetzner-dedicated-wipe-and-install-nixos.sh b/hosters/hetzner-dedicated/hetzner-dedicated-wipe-and-install-nixos.sh index c347fa9..14e71ff 100644 --- a/hosters/hetzner-dedicated/hetzner-dedicated-wipe-and-install-nixos.sh +++ b/hosters/hetzner-dedicated/hetzner-dedicated-wipe-and-install-nixos.sh @@ -165,11 +165,11 @@ set +u +x # sourcing this may refer to unset variables that we have no control o set -u -x # FIXME Keep in sync with `system.stateVersion` set below! -nix-channel --add https://nixos.org/channels/nixos-20.03 nixpkgs +nix-channel --add https://nixos.org/channels/nixos-unstable nixpkgs nix-channel --update # Getting NixOS installation tools -nix-env -iE "_: with import { configuration = {}; }; with config.system.build; [ nixos-generate-config nixos-install nixos-enter manual.manpages ]" +nix-env -iE "_: with import { configuration = {}; }; with config.system.build; [ nixos-generate-config nixos-install nixos-enter ]" nixos-generate-config --root /mnt @@ -254,7 +254,7 @@ cat > /mnt/etc/nixos/configuration.nix < /mnt/etc/nixos/configuration.nix <