forgejo-ci-runners/hardware/default.nix

16 lines
370 B
Nix
Raw Normal View History

2024-05-25 11:17:33 -05:00
{ config, modulesPath, lib, ... }:
{
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
};
}