chore(nix): remove nixops.nix
This commit is contained in:
parent
4637b58ce8
commit
e47519137b
34
nixops.nix
34
nixops.nix
|
@ -1,34 +0,0 @@
|
|||
# NixOps configuration for the mio-ops nodes
|
||||
{
|
||||
network = {
|
||||
description = "mio-ops nodes";
|
||||
enableRollback = true;
|
||||
};
|
||||
|
||||
network.storage.legacy = {databasefile = "~/.nixops/deployments.nixops";};
|
||||
|
||||
defaults = {
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
system.autoUpgrade.enable = false; # Disabled as it conflicts with NixOps
|
||||
};
|
||||
|
||||
airgead = import hosts/airgead.nix;
|
||||
brighde = import hosts/brighde.nix;
|
||||
ceilidh = import hosts/ceilidh.nix;
|
||||
cuallaidh = import hosts/cuallaidh.nix;
|
||||
dhu = import hosts/dhu.nix;
|
||||
dionach = import hosts/dionach.nix;
|
||||
iolear-beag = import hosts/iolear-beag.nix;
|
||||
doilidh = import hosts/doilidh.nix;
|
||||
eamhair = import hosts/eamhair.nix;
|
||||
ceitidh = import hosts/ceitidh.nix;
|
||||
paidh-uachdar = import hosts/paidh-uachdar.nix;
|
||||
sanganto = import hosts/sanganto.nix;
|
||||
sercanto = import hosts/sercanto.nix;
|
||||
sithlainnir = import hosts/sithlainnir.nix;
|
||||
teintidh = import hosts/teintidh.nix;
|
||||
}
|
23
outputs.nix
23
outputs.nix
|
@ -16,6 +16,29 @@ in {
|
|||
inherit (nix.packages."${pkgs.system}") nix;
|
||||
inherit (nixpkgsUnstable.legacyPackages."${pkgs.system}") alejandra;
|
||||
};
|
||||
nixopsConfigurations."${pkgs.system}".default = {
|
||||
inherit (inputs) nixpkgs;
|
||||
network = {
|
||||
description = "mio-ops nodes";
|
||||
enableRollback = true;
|
||||
storage.legacy = {databasefile = "~/.nixops/deployments.nixops";};
|
||||
};
|
||||
airgead = import hosts/airgead.nix;
|
||||
brighde = import hosts/brighde.nix;
|
||||
ceilidh = import hosts/ceilidh.nix;
|
||||
cuallaidh = import hosts/cuallaidh.nix;
|
||||
dhu = import hosts/dhu.nix;
|
||||
dionach = import hosts/dionach.nix;
|
||||
iolear-beag = import hosts/iolear-beag.nix;
|
||||
doilidh = import hosts/doilidh.nix;
|
||||
eamhair = import hosts/eamhair.nix;
|
||||
ceitidh = import hosts/ceitidh.nix;
|
||||
paidh-uachdar = import hosts/paidh-uachdar.nix;
|
||||
sanganto = import hosts/sanganto.nix;
|
||||
sercanto = import hosts/sercanto.nix;
|
||||
sithlainnir = import hosts/sithlainnir.nix;
|
||||
teintidh = import hosts/teintidh.nix;
|
||||
};
|
||||
}))
|
||||
// {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue