1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

wip: prepare moving microvms definitions to own folders

This commit is contained in:
oddlama 2023-06-12 00:21:25 +02:00
parent e4199be809
commit 3f19475eda
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 31 additions and 16 deletions

View file

@ -16,15 +16,30 @@
./fs.nix
./net.nix
./promtail.nix
./kanidm.nix
./grafana.nix
./loki.nix
];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" "r8169"];
extra.promtail = {
enable = true;
proxy = "sentinel";
};
extra.microvms.vms = let
defaults = {
system = "x86_64-linux";
autostart = true;
zfs = {
enable = true;
pool = "rpool";
};
};
in {
kanidm = defaults;
grafana = defaultsa;
loki = defaults
};
#ddclient = defineVm;
#kanidm = defineVm;
#gitea/forgejo = defineVm;
@ -35,6 +50,8 @@
#paperless = defineVm;
#radicale = defineVm;
#minecraft = defineVm;
#firefly
#adguardhome
#prometheus
#influxdb