nix-infra/profiles/hcloud/default.nix

13 lines
485 B
Nix
Raw Normal View History

2024-04-07 11:50:21 +00:00
{ modulesPath, config, ... }: {
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
zramSwap.enable = true;
boot.tmp.cleanOnBoot = true;
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
boot.initrd.kernelModules = [ "nvme" ];
deployment.targetHost = (builtins.elemAt config.networking.interfaces.eth0.ipv4.addresses 0).address;
2024-04-21 19:00:58 +00:00
deployment.tags = [ "hcloud" "hetzner" "cloud" ];
2024-04-07 11:50:21 +00:00
}