diff --git a/machines/x2100/hardware.nix b/machines/x2100/hardware.nix index df9f94d..89615c9 100644 --- a/machines/x2100/hardware.nix +++ b/machines/x2100/hardware.nix @@ -1,34 +1,40 @@ # 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") - ]; + imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "xhci_pci" + "ahci" + "nvme" + "usb_storage" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; - boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest; + boot.kernelPackages = pkgs.linuxPackages_6_8; - fileSystems."/" = - { - device = "/dev/nvme0n1p1"; - fsType = "bcachefs"; - }; + fileSystems."/" = { + device = "/dev/nvme0n1p1"; + fsType = "bcachefs"; + }; - fileSystems."/boot" = - { - device = "/dev/disk/by-uuid/72EA-E988"; - fsType = "vfat"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/72EA-E988"; + fsType = "vfat"; + }; - swapDevices = - [{ device = "/dev/disk/by-uuid/2c19cb7a-bf8d-4bd3-ad61-ee3c27d57998"; }]; + swapDevices = [ { device = "/dev/disk/by-uuid/2c19cb7a-bf8d-4bd3-ad61-ee3c27d57998"; } ]; # 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