mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
40 lines
1.1 KiB
Nix
40 lines
1.1 KiB
Nix
|
|
# 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")
|
|||
|
|
];
|
|||
|
|
|
|||
|
|
boot = {
|
|||
|
|
initrd = {
|
|||
|
|
availableKernelModules = [ "ahci" "xhci_pci" "uhci_pci" "usbhid" "usb_storage" "sd_mod" ];
|
|||
|
|
kernelModules = [ ];
|
|||
|
|
};
|
|||
|
|
kernelModules = [ "kvm-intel" ];
|
|||
|
|
extraModulePackages = [ ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/" =
|
|||
|
|
{ device = "/dev/disk/by-uuid/adb2894c-18f5-466a-b340-70b71b479f51";
|
|||
|
|
fsType = "ext4";
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/boot" =
|
|||
|
|
{ device = "/dev/disk/by-uuid/D8DA-9F5E";
|
|||
|
|
fsType = "vfat";
|
|||
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
swapDevices = [ ];
|
|||
|
|
|
|||
|
|
networking.useDHCP = lib.mkDefault true;
|
|||
|
|
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
|||
|
|
# networking.interfaces.eno2.useDHCP = lib.mkDefault true;
|
|||
|
|
|
|||
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|||
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|||
|
|
}
|