nixops: added storage.legacy

This commit is contained in:
Serĉanto de Scio 2021-12-21 23:52:33 +10:00
parent bc442a7d4c
commit cc826d59f7
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

30
nixops.nix Normal file
View file

@ -0,0 +1,30 @@
# 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;
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;
paidh-ceithir = import hosts/paidh-ceithir.nix;
paidh-coig = import hosts/paidh-coig.nix;
paidh-dha = import hosts/paidh-dha.nix;
paidh-tri = import hosts/paidh-tri.nix;
paidh-uachdar = import hosts/paidh-uachdar.nix;
sithlainnir = import hosts/sithlainnir.nix;
teintidh = import hosts/teintidh.nix;
}