16 lines
No EOL
489 B
Nix
16 lines
No EOL
489 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/disk/by-partlabel/disk-main-ESP"; fsType = "vfat"; options=[ "fmask=0022" "dmask=0022" ]; };
|
|
fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-partlabel/disk-main-root"; fsType = "ext4"; };
|
|
|
|
networking.useNetworkd = true;
|
|
};
|
|
} |