Et avec le bon hardware config ?

cephiroth-v3
Lzebulon 2026-01-26 22:18:04 +01:00
parent d56fd3053b
commit 01b78dd455
No known key found for this signature in database
GPG Key ID: D6CDAB8050CBBE7D
1 changed files with 30 additions and 39 deletions

View File

@ -1,50 +1,33 @@
# 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 = [
"ehci_pci"
"ata_piix"
"uhci_hcd"
"hpsa"
"usbhid"
"usb_storage"
"sd_mod"
"sr_mod"
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "uhci_hcd" "hpsa" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/backups" = {
device = "backups";
fileSystems."/" =
{ device = "head/root";
fsType = "zfs";
};
fileSystems."/" = {
device = "head";
fsType = "zfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/8E4A-8E9F";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C900-92D1";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
];
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/boot-fallback" =
{ device = "/dev/disk/by-uuid/C931-84A4";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
@ -53,13 +36,21 @@
# (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.useDHCP = lib.mkDefault true;
# networking.interfaces.bond0.useDHCP = lib.mkDefault true;
# networking.interfaces.bond0.10.useDHCP = lib.mkDefault true;
# networking.interfaces.bond0.3.useDHCP = lib.mkDefault true;
# networking.interfaces.bonding_masters.useDHCP = lib.mkDefault true;
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
# networking.interfaces.eno2.useDHCP = lib.mkDefault true;
# networking.interfaces.eno3.useDHCP = lib.mkDefault true;
# networking.interfaces.eno4.useDHCP = lib.mkDefault true;
# networking.interfaces.enp4s0f0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp4s0f1.useDHCP = lib.mkDefault true;
# networking.interfaces.eno49.useDHCP = lib.mkDefault true;
# networking.interfaces.eno50.useDHCP = lib.mkDefault true;
# networking.interfaces.eno51.useDHCP = lib.mkDefault true;
# networking.interfaces.eno52.useDHCP = lib.mkDefault true;
# networking.interfaces.enp11s0f0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp11s0f1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;