From 03afd838e52786bf29ec3c0b0818af7e8d6e9562 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Fri, 8 Jul 2022 21:06:31 +1000 Subject: [PATCH] doilidh: initial deployment --- hosts/{paidh-ceithir.nix => doilidh.nix} | 6 +++--- images/sd-image_doilidh.nix | 13 +++++++++++++ images/sd-image_paidh-ceithir.nix | 13 ------------- nixops.nix | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) rename hosts/{paidh-ceithir.nix => doilidh.nix} (58%) create mode 100644 images/sd-image_doilidh.nix delete mode 100644 images/sd-image_paidh-ceithir.nix diff --git a/hosts/paidh-ceithir.nix b/hosts/doilidh.nix similarity index 58% rename from hosts/paidh-ceithir.nix rename to hosts/doilidh.nix index 6e6de30..af7e87b 100644 --- a/hosts/paidh-ceithir.nix +++ b/hosts/doilidh.nix @@ -1,4 +1,4 @@ -# NixOps configuration for paidh-ceithir +# NixOps configuration for doilidh { config, pkgs, @@ -9,9 +9,9 @@ # Comment out deployment when building the SD Image. deployment.targetHost = "10.42.0.204"; - networking.hostName = "paidh-ceithir"; # Define your hostname. + networking.hostName = "doilidh"; # Define your hostname. environment.systemPackages = with pkgs; []; - system.stateVersion = "20.09"; # The version of NixOS originally installed + system.stateVersion = "22.05"; # The version of NixOS originally installed } diff --git a/images/sd-image_doilidh.nix b/images/sd-image_doilidh.nix new file mode 100644 index 0000000..e6687d2 --- /dev/null +++ b/images/sd-image_doilidh.nix @@ -0,0 +1,13 @@ +# SD image for doilidh +# +# To build this image, run: +# +# nix-build '' -A config.system.build.sdImage -I \ +# nixos-config=./images/sd-image_doilidh.nix +# +# An example of how to write the image to SD card: +# +# zstdcat ./result/sd-image/nixos-sd-image-22.05pre-git-aarch64-linux.img.zst | sudo dd of=/dev/sdb +{...}: { + imports = [./sd-image_paidh-aarch64.nix ../hosts/doilidh.nix]; +} diff --git a/images/sd-image_paidh-ceithir.nix b/images/sd-image_paidh-ceithir.nix deleted file mode 100644 index 1be98f5..0000000 --- a/images/sd-image_paidh-ceithir.nix +++ /dev/null @@ -1,13 +0,0 @@ -# SD image for paidh-ceithir -# -# To build this image, run: -# -# nix-build '' -A config.system.build.sdImage -I \ -# nixos-config=./images/sd-image_paidh-ceithir.nix -# -# An example of how to write the image to SD card: -# -# bzcat ./result/sd-image/nixos-sd-image-20.03.1577.74a80c5a9ab-aarch64-linux.img.bz2 | sudo dd of=/dev/sdb -{...}: { - imports = [./sd-image_paidh-aarch64.nix ../hosts/paidh-ceithir.nix]; -} diff --git a/nixops.nix b/nixops.nix index 650d3c2..8ad99f8 100644 --- a/nixops.nix +++ b/nixops.nix @@ -22,7 +22,7 @@ dhu = import hosts/dhu.nix; dionach = import hosts/dionach.nix; iolear-beag = import hosts/iolear-beag.nix; - paidh-ceithir = import hosts/paidh-ceithir.nix; + doilidh = import hosts/doilidh.nix; paidh-coig = import hosts/paidh-coig.nix; buaidheach = import hosts/buaidheach.nix; ceitidh = import hosts/ceitidh.nix;