18 lines
487 B
Nix
18 lines
487 B
Nix
|
|
{ modulesPath, ... }:
|
||
|
|
{
|
||
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||
|
|
boot.loader.grub = {
|
||
|
|
efiSupport = true;
|
||
|
|
efiInstallAsRemovable = true;
|
||
|
|
device = "nodev";
|
||
|
|
};
|
||
|
|
fileSystems."/boot" = { device = "/dev/disk/by-uuid/C2EB-7223"; fsType = "vfat"; };
|
||
|
|
boot.initrd.kernelModules = [ "nvme" ];
|
||
|
|
fileSystems."/" = { device = "/dev/sda3"; fsType = "xfs"; };
|
||
|
|
networking = {
|
||
|
|
useDHCP = false;
|
||
|
|
interfaces.enp0s3.useDHCP = true;
|
||
|
|
hostName = "mc4";
|
||
|
|
};
|
||
|
|
}
|