forgejo-ci-runners/hardware/default.nix

17 lines
363 B
Nix
Raw Normal View History

2024-09-07 14:50:44 -05:00
{ modulesPath, lib, ... }:
2024-05-25 11:17:33 -05:00
{
imports = [
"${modulesPath}/profiles/qemu-guest.nix"
];
config = {
boot.growPartition = true;
2024-05-25 16:11:35 -05:00
boot.loader.grub.device = "/dev/sda";
2024-05-25 11:17:33 -05:00
2024-05-25 14:25:13 -05:00
fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-partlabel/disk-main-root"; fsType = "ext4"; };
2024-05-25 11:17:33 -05:00
networking.useNetworkd = true;
2024-05-26 12:00:55 -05:00
networking.useDHCP = true;
2024-05-25 11:17:33 -05:00
};
2024-09-07 14:50:44 -05:00
}