chore(ceitidh): move deployment to outputs

Also add to active tag
This commit is contained in:
Serĉanto de Scio 2024-09-09 00:30:13 +10:00
parent 982d47bf94
commit 8b553e632a
Signed by: sercanto
GPG key ID: A4122FF3971B6865
2 changed files with 6 additions and 3 deletions

View file

@ -7,11 +7,9 @@
}: { }: {
imports = [ imports = [
../../networks/pi3B_rack.nix ../../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. networking.hostName = "ceitidh"; # Define your hostname.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View file

@ -38,6 +38,7 @@ in {
defaults = { defaults = {
_module.args.inputs = inputs; _module.args.inputs = inputs;
}; };
# Comment out deployment line when building the SD Image.
airgead = { airgead = {
imports = [ imports = [
hosts/airgead hosts/airgead
@ -62,6 +63,10 @@ in {
hosts/ceitidh hosts/ceitidh
ragenix.nixosModules.default ragenix.nixosModules.default
]; ];
deployment = {
tags = ["active"];
targetHost = "10.42.0.203";
};
}; };
cuallaidh = { cuallaidh = {
imports = [ imports = [