format hardware-configuration

This commit is contained in:
2025-12-15 10:10:15 +01:00
parent ecaa4536c5
commit 0ce96d9bb8
+32 -26
View File
@@ -1,32 +1,45 @@
# 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,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "rtsx_pci_sdmmc" ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"rtsx_pci_sdmmc"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/d831b1a8-084b-422c-a8ba-8b746a538d15";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/d831b1a8-084b-422c-a8ba-8b746a538d15";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/9EB2-5EE3";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/7c16e538-9246-451f-b9cb-d486c628b206"; }
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/9EB2-5EE3";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/7c16e538-9246-451f-b9cb-d486c628b206"; }
];
# 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
@@ -40,14 +53,7 @@
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.graphics = {
enable = true;
enable32Bit = true;
enable = true;
enable32Bit = true;
};
# boot = {
# blacklistedKernelModules = [ "nouveau" ];
# extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
# intrd.kernelModules = [ "nvidia" ];
# };
# hardware.nvidia.modesetting.enable = true;
}