2022-03-04 16:50:25 +01:00
|
|
|
|
# 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 =
|
2022-09-06 17:16:31 +02:00
|
|
|
|
[
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
2022-03-04 16:50:25 +01:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "ohci_pci" "ehci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" "wl" ];
|
|
|
|
|
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2022-09-06 17:16:31 +02:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/9799b183-a191-484e-b9a4-05e29412af25";
|
2022-03-04 16:50:25 +01:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2022-09-06 17:16:31 +02:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/CF58-EB12";
|
2022-03-04 16:50:25 +01:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
2022-09-06 17:16:31 +02:00
|
|
|
|
[{ device = "/dev/disk/by-uuid/94622e8e-8b58-4b3b-9494-d144ccaeb486"; }];
|
2022-03-04 16:50:25 +01:00
|
|
|
|
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|