forgejo-ci-runners/hardware/default.nix
2024-05-26 12:00:55 -05:00

16 lines
No EOL
370 B
Nix

{ config, modulesPath, lib, ... }:
{
imports = [
"${modulesPath}/profiles/qemu-guest.nix"
];
config = {
boot.growPartition = true;
boot.loader.grub.device = "/dev/sda";
fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-partlabel/disk-main-root"; fsType = "ext4"; };
networking.useNetworkd = true;
networking.useDHCP = true;
};
}