From 85994a5057eca249be5256b3fb16a1b7b8809812 Mon Sep 17 00:00:00 2001 From: asymmetric Date: Thu, 28 Jan 2021 10:16:20 +0000 Subject: [PATCH 1/2] hetzner: add FIXME placeholders To make the necessary edits easier to find. --- .../hetzner-dedicated-wipe-and-install-nixos.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 b3eb0a3..b1ac11f 100644 --- a/hosters/hetzner-dedicated/hetzner-dedicated-wipe-and-install-nixos.sh +++ b/hosters/hetzner-dedicated/hetzner-dedicated-wipe-and-install-nixos.sh @@ -5,7 +5,7 @@ # This is for a specific server configuration; adjust where needed. # # Prerequisites: -# * Update the script to put in your SSH pubkey, adjust hostname, NixOS version etc. +# * Update the script wherever FIXME is present # # Usage: # ssh root@YOUR_SERVERS_IP bash -s < hetzner-dedicated-wipe-and-install-nixos.sh @@ -160,8 +160,7 @@ set +u +x # sourcing this may refer to unset variables that we have no control o . $HOME/.nix-profile/etc/profile.d/nix.sh set -u -x -# Keep in sync with `system.stateVersion` set below! -# nix-channel --add https://nixos.org/channels/nixos-20.03 nixpkgs +# FIXME Keep in sync with `system.stateVersion` set below! nix-channel --add https://nixos.org/channels/nixos-20.03 nixpkgs nix-channel --update @@ -219,7 +218,7 @@ cat > /mnt/etc/nixos/configuration.nix < /mnt/etc/nixos/configuration.nix < Date: Fri, 9 Apr 2021 17:07:17 +0200 Subject: [PATCH 2/2] remove FIXME from networking.hostname Can be safely changed afterwards. --- .../hetzner-dedicated-wipe-and-install-nixos.sh | 1 - 1 file changed, 1 deletion(-) 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 b1ac11f..6e1f53f 100644 --- a/hosters/hetzner-dedicated/hetzner-dedicated-wipe-and-install-nixos.sh +++ b/hosters/hetzner-dedicated/hetzner-dedicated-wipe-and-install-nixos.sh @@ -218,7 +218,6 @@ cat > /mnt/etc/nixos/configuration.nix <