nixos/hardware/knockout-hw.nix

38 lines
1.4 KiB
Nix
Raw Permalink Normal View History

2024-02-26 17:28:29 -09: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, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" "zfs" ];
2024-02-26 17:28:29 -09:00
boot.extraModulePackages = [ ];
fileSystems."/" =
2024-02-27 11:03:25 -09:00
{ device = "/dev/disk/by-uuid/d64887fb-0e49-4c92-a713-d6414697828c";
2024-02-26 17:28:29 -09:00
fsType = "ext4";
};
fileSystems."/boot" =
2024-02-27 11:03:25 -09:00
{ device = "/dev/disk/by-uuid/71C6-3491";
2024-02-26 17:28:29 -09: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.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}