nixos-config/systems/mc4/hardware-configuration.nix
2021-11-06 13:01:22 +01:00

17 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";
};
}