Current state of main at 0240060 feat(hp-laptop): install TeleportFling from its flake. History intentionally collapsed to a single commit; this repo mirrors only the latest state.
56 lines
1.6 KiB
Nix
56 lines
1.6 KiB
Nix
# /hosts/x1carbon/hardware-configuration.nix
|
|
# This file will be generated by NixOS during installation or by 'nixos-generate-config'.
|
|
# It contains hardware-specific settings for x1carbon.
|
|
{ config
|
|
, lib
|
|
, pkgs
|
|
, modulesPath
|
|
, ...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
#hardware.ipu6.enable = true;
|
|
#hardware.ipu6.platform = "ipu6";
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
"xhci_pci"
|
|
"nvme"
|
|
"usb_storage"
|
|
"sd_mod"
|
|
];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
# fileSystems."/" =
|
|
# { device = "/dev/disk/by-uuid/882a76d6-c1ac-4efd-aff8-b56d43ec7ca5";
|
|
# fsType = "ext4";
|
|
# };
|
|
|
|
# fileSystems."/boot" =
|
|
# { device = "/dev/disk/by-uuid/EF30-EBA7";
|
|
# fsType = "vfat";
|
|
# options = [ "fmask=0077" "dmask=0077" ];
|
|
# };
|
|
|
|
# swapDevices =
|
|
# [ { device = "/dev/disk/by-uuid/1c488737-a2e7-4258-b0f3-bd1d14155d03"; }
|
|
# ];
|
|
|
|
# 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.enp0s31f6.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;
|
|
|
|
}
|