nixos-config/systems/mc6/hardware-configuration.nix

31 lines
957 B
Nix
Raw Normal View History

2022-02-24 21:04:49 +01:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
2022-02-24 20:26:11 +01:00
{
2022-02-24 21:04:49 +01:00
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2022-02-24 20:26:11 +01:00
boot.loader.grub.device = "/dev/sda";
boot.initrd.kernelModules = [ "nvme" ];
2022-02-24 21:04:49 +01:00
fileSystems."/" =
{ device = "/dev/disk/by-label/nixos";
fsType = "btrfs";
options = [ "compress-force=zstd" ];
};
swapDevices = [ ];
networking.useDHCP = lib.mkDefault false;
networking.interfaces.ens3.useDHCP = lib.mkDefault true;
networking.hostName = "mc6";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2022-02-24 20:26:11 +01:00
}