From c88e445bbd5db48a649f4999c2c4d1545c17163f Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Tue, 12 May 2020 14:00:32 +1000 Subject: [PATCH] Added airgear --- deployments/mio-ops.nix | 13 +++++++------ hosts/airgead.nix | 21 +++++++++++++++++++++ 2 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 hosts/airgead.nix diff --git a/deployments/mio-ops.nix b/deployments/mio-ops.nix index f941334..4f801f9 100644 --- a/deployments/mio-ops.nix +++ b/deployments/mio-ops.nix @@ -13,12 +13,13 @@ system.autoUpgrade.enable = false; # Disabled as it conflicts with NixOps }; - cuallaidh = import ../hosts/cuallaidh.nix; - iolear-beag = import ../hosts/iolear-beag.nix; + airgead = import ../hosts/airgead.nix; + cuallaidh = import ../hosts/cuallaidh.nix; + iolear-beag = import ../hosts/iolear-beag.nix; paidh-ceithir = import ../hosts/paidh-ceithir.nix; - paidh-coig = import ../hosts/paidh-coig.nix; - paidh-tri = import ../hosts/paidh-tri.nix; - sithlainnir = import ../hosts/sithlainnir.nix; - teintidh = import ../hosts/teintidh.nix; + paidh-coig = import ../hosts/paidh-coig.nix; + paidh-tri = import ../hosts/paidh-tri.nix; + sithlainnir = import ../hosts/sithlainnir.nix; + teintidh = import ../hosts/teintidh.nix; } diff --git a/hosts/airgead.nix b/hosts/airgead.nix new file mode 100644 index 0000000..d2cb811 --- /dev/null +++ b/hosts/airgead.nix @@ -0,0 +1,21 @@ +# NixOps configuration for airgead + +{ config, pkgs, lib, ... }: + +{ + + imports = + [ + ../clusters/linode-encrypted.nix + ]; + + deployment.targetHost = "172.105.184.221"; + + networking.hostName = "airgead"; # Define your hostname. + + nix.nixPath = [ + "nixpkgs=https://nixos.org/channels/nixos-20.03/nixexprs.tar.xz" + ]; + + system.stateVersion = "20.03"; # The version of NixOS originally installed +}