forked from mirrors_public/oddlama_nix-config
refactor: ward microvms are now own folders
This commit is contained in:
parent
3f19475eda
commit
dfe1abdfde
4 changed files with 258 additions and 291 deletions
|
@ -36,8 +36,8 @@
|
|||
};
|
||||
in {
|
||||
kanidm = defaults;
|
||||
grafana = defaultsa;
|
||||
loki = defaults
|
||||
grafana = defaults;
|
||||
loki = defaults;
|
||||
};
|
||||
|
||||
#ddclient = defineVm;
|
||||
|
|
|
@ -1,14 +1,4 @@
|
|||
{
|
||||
extra.microvms.vms.grafana = {
|
||||
system = "x86_64-linux";
|
||||
autostart = true;
|
||||
zfs = {
|
||||
enable = true;
|
||||
pool = "rpool";
|
||||
};
|
||||
};
|
||||
|
||||
microvm.vms.grafana.config = {
|
||||
config,
|
||||
lib,
|
||||
nodeName,
|
||||
|
@ -121,5 +111,4 @@
|
|||
};
|
||||
|
||||
systemd.services.grafana.after = ["sys-subsystem-net-devices-${utils.escapeSystemdPath "proxy-sentinel"}.device"];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,14 +1,4 @@
|
|||
{
|
||||
extra.microvms.vms.kanidm = {
|
||||
system = "x86_64-linux";
|
||||
autostart = true;
|
||||
zfs = {
|
||||
enable = true;
|
||||
pool = "rpool";
|
||||
};
|
||||
};
|
||||
|
||||
microvm.vms.kanidm.config = {
|
||||
config,
|
||||
lib,
|
||||
nodes,
|
||||
|
@ -77,5 +67,4 @@
|
|||
};
|
||||
|
||||
systemd.services.kanidm.after = ["sys-subsystem-net-devices-${utils.escapeSystemdPath "proxy-sentinel"}.device"];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,14 +1,4 @@
|
|||
{
|
||||
extra.microvms.vms.loki = {
|
||||
system = "x86_64-linux";
|
||||
autostart = true;
|
||||
zfs = {
|
||||
enable = true;
|
||||
pool = "rpool";
|
||||
};
|
||||
};
|
||||
|
||||
microvm.vms.loki.config = {
|
||||
config,
|
||||
lib,
|
||||
nodes,
|
||||
|
@ -109,5 +99,4 @@
|
|||
};
|
||||
|
||||
systemd.services.loki.after = ["sys-subsystem-net-devices-${utils.escapeSystemdPath "proxy-sentinel"}.device"];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue