nixos-config/hosts/falkenstein/hardware-configuration.nix

41 lines
1.4 KiB
Nix
Raw Normal View History

2023-04-12 17:28:41 +02: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.
2023-05-19 11:42:43 +02:00
{ config, lib, modulesPath, ... }:
2023-04-12 17:28:41 +02:00
{
imports =
2023-04-12 22:09:46 +02:00
[
(modulesPath + "/profiles/qemu-guest.nix")
2023-04-12 17:28:41 +02:00
];
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2023-04-12 22:09:46 +02:00
{
device = "/dev/disk/by-uuid/da06b92f-6eb6-45d5-9409-4d897a40d70e";
2023-04-12 17:28:41 +02:00
fsType = "ext4";
};
fileSystems."/boot/efi" =
2023-04-12 22:09:46 +02:00
{
device = "/dev/disk/by-uuid/B677-3035";
2023-04-12 17:28:41 +02:00
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 true;
# networking.interfaces.ens3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}