From 8b553e632a5069228d19d84a5229daec61772262 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 9 Sep 2024 00:30:13 +1000 Subject: [PATCH] chore(ceitidh): move deployment to outputs Also add to active tag --- hosts/ceitidh/default.nix | 4 +--- outputs.nix | 5 +++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/hosts/ceitidh/default.nix b/hosts/ceitidh/default.nix index de2fd9d..4441c6e 100644 --- a/hosts/ceitidh/default.nix +++ b/hosts/ceitidh/default.nix @@ -7,11 +7,9 @@ }: { imports = [ ../../networks/pi3B_rack.nix - ../../profiles/cyclone-ibis.nix + #../../profiles/cyclone-ibis.nix ]; - # Comment out deployment when building the SD Image. - deployment.targetHost = "10.42.0.203"; networking.hostName = "ceitidh"; # Define your hostname. environment.systemPackages = with pkgs; [ diff --git a/outputs.nix b/outputs.nix index e49f959..8b6b543 100644 --- a/outputs.nix +++ b/outputs.nix @@ -38,6 +38,7 @@ in { defaults = { _module.args.inputs = inputs; }; + # Comment out deployment line when building the SD Image. airgead = { imports = [ hosts/airgead @@ -62,6 +63,10 @@ in { hosts/ceitidh ragenix.nixosModules.default ]; + deployment = { + tags = ["active"]; + targetHost = "10.42.0.203"; + }; }; cuallaidh = { imports = [