diff --git a/nixos/hardware/archaic-wiro-laptop.nix b/nixos/hardware/archaic-wiro-laptop.nix index 65f77e1..675f1c6 100644 --- a/nixos/hardware/archaic-wiro-laptop.nix +++ b/nixos/hardware/archaic-wiro-laptop.nix @@ -1,6 +1,3 @@ -# 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 diff --git a/nixos/hardware/neo-wiro-laptop.nix b/nixos/hardware/neo-wiro-laptop.nix index caf3eaa..6cab307 100644 --- a/nixos/hardware/neo-wiro-laptop.nix +++ b/nixos/hardware/neo-wiro-laptop.nix @@ -1,30 +1,23 @@ -# 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 -, ... -}: { +{ config, lib, pkgs, modulesPath, ... }: + +{ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - # boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc" ]; - # boot.initrd.kernelModules = [ ]; - # boot.kernelModules = [ "kvm-intel" ]; - # boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "sdhci_pci" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; # 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..useDHCP`. networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; + # networking.interfaces.docker0.useDHCP = lib.mkDefault true; + # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }