self-hosting/hardware/hcloud.nix
2021-07-15 17:09:32 +02:00

10 lines
273 B
Nix

{ modulesPath, config, pkgs, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/sda";
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
boot.cleanTmpDir = true;
networking.firewall.allowPing = true;
}