2023-06-17 15:12:52 +02:00
|
|
|
{ modulesPath, lib, ... }:
|
2023-06-17 15:02:17 +02:00
|
|
|
{
|
|
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
|
|
|
boot.initrd.kernelModules = [ "nvme" ];
|
2023-06-17 15:12:52 +02:00
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-uuid/627952eb-107a-43c3-8223-bfea9af92837";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "dev/disk/by-uuid/5CA6-CCE4";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
|
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
|
|
# still possible to use this option, but it's recommended to use it in conjunction
|
|
|
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
|
|
networking.useDHCP = lib.mkDefault false;
|
|
|
|
networking.interfaces.enp1s0.useDHCP = lib.mkDefault false;
|
2023-06-17 15:02:17 +02:00
|
|
|
}
|