Fix hardware-condifuration

This commit is contained in:
batteredbunny 2024-04-27 22:38:14 +03:00
parent 1f07a98a40
commit bd9c93c278

View file

@ -1,32 +1,32 @@
# 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")
];
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/cdfa19f6-890c-4b35-b02b-f7189f9c3c41";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/cdfa19f6-890c-4b35-b02b-f7189f9c3c41";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/A96B-3406";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/79545188-d3b9-4d87-ba5f-8875dc92586a"; }
];
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/A96B-3406";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};
# 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