forgejo-ci-runners/hardware/default.nix
2024-05-25 11:36:14 -05:00

16 lines
No EOL
434 B
Nix

{ config, modulesPath, lib, ... }:
{
imports = [
"${modulesPath}/profiles/qemu-guest.nix"
];
config = {
boot.growPartition = true;
boot.loader.grub.device = "/dev/vda";
fileSystems."/boot" = lib.mkDefault { device = "/dev/vda1"; fsType = "vfat"; options=[ "fmask=0022" "dmask=0022" ]; };
fileSystems."/" = lib.mkDefault { device = "/dev/vda2"; fsType = "ext4"; };
networking.useNetworkd = true;
};
}