flowback-infra/hosts/staging/hardware-configuration.nix

17 lines
496 B
Nix

{ config, lib, modulesPath, ... }:
{
# Good defaults for cloud VMs
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
# Placeholder root FS (you MUST replace this on real machines)
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
# Placeholder bootloader target (adjust /dev/vda vs /dev/sda depending on provider)
boot.loader.grub.enable = true;
boot.loader.grub.devices = [ "/dev/vda" ];
networking.useDHCP = lib.mkDefault true;
}