nix/hosts/ti-clt-tbl01/hardware-configuration.nix

41 lines
1.5 KiB
Nix
Raw Permalink Normal View History

2024-12-25 10:57:48 +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, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2025-01-02 19:11:41 +01:00
{ device = "/dev/disk/by-uuid/4d44a7fb-9a4f-4d55-8daf-1c93f08485dd";
2024-12-25 10:57:48 +01:00
fsType = "ext4";
};
fileSystems."/boot" =
2025-01-02 19:11:41 +01:00
{ device = "/dev/disk/by-uuid/30EC-F045";
2024-12-25 10:57:48 +01:00
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
2025-01-02 19:11:41 +01:00
[ { device = "/dev/disk/by-uuid/e803d3e2-28f0-427d-88e2-e0daf62f47fa"; }
2024-12-25 10:57:48 +01:00
];
# 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.wlp1s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}