{ config, lib, ... }: with lib; { imports = attrValues (modulesIn ./.); nixfiles.modules = { wireguard.server.enable = true; nsd = { enable = true; fqdn = "ns1.${config.networking.domain}"; }; unbound.enable = true; acme.enable = true; monitoring.enable = true; postgresql.enable = true; clickhouse.enable = true; git.server = { enable = true; domain = "git.${my.domain.azahi}"; }; matrix.dendrite = { enable = true; domain = my.domain.azahi; }; murmur.enable = true; radicale.enable = true; rss-bridge.enable = true; shadowsocks.enable = true; soju = { enable = true; domain = my.domain.azahi; }; vaultwarden.enable = true; ntfy.enable = true; plausible.enable = true; uptime-kuma.enable = true; thelounge.enable = true; }; boot = { loader.grub = { enable = true; device = "/dev/sda"; }; initrd.availableKernelModules = [ "virtio_pci" "virtio_scsi" ]; }; fileSystems = { "/" = { device = "/dev/sda2"; fsType = "xfs"; options = [ "noatime" ]; }; "/boot" = { device = "/dev/sda1"; fsType = "xfs"; options = [ "noatime" ]; }; }; swapDevices = [ { device = "/dev/sda3"; } ]; zramSwap = { enable = true; memoryPercent = 50; }; }