{ config, pkgs, ... }: let # external-ip = config.krebs.build.host.nets.internet.ip4.addr; # internal-ip = config.krebs.build.host.nets.retiolum.ip4.addr; # default-gw = "185.215.224.1"; # prefixLength = 24; # external-mac = "46:5b:fc:f4:44:c9"; # ext-if = "et0"; in { imports = [ # configure your hw: # Security # # Tools # Services ]; krebs = { enable = true; build.host = config.krebs.hosts.latte; }; boot.initrd.availableKernelModules = [ "ata_piix" "ehci_pci" "virtio_pci" "virtio_blk" "virtio_net" "virtio_scsi" ]; boot.loader.grub.device = "/dev/vda"; boot.loader.grub.copyKernels = true; fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; }; networking = { firewall = { allowPing = true; logRefusedConnections = false; allowedTCPPorts = [ ]; allowedUDPPorts = [ 655 ]; }; # network interface receives dhcp address nameservers = [ "8.8.8.8" ]; }; }