2023-01-15 00:22:56 +00:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
2023-06-03 13:17:03 +00:00
|
|
|
./wifi.nix
|
|
|
|
./sound.nix
|
2023-01-15 00:22:56 +00:00
|
|
|
];
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
boot.loader.grub.version = 2;
|
|
|
|
boot.loader.grub.efiSupport = true;
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" ];
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
disko.devices = import ./disk.nix;
|
|
|
|
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
|
|
|
|
|
|
|
boot.kernelParams = [ "net.ifnames=0" ];
|
|
|
|
networking.hostId = "0123AABB";
|
2023-06-03 13:17:03 +00:00
|
|
|
|
2023-01-15 00:22:56 +00:00
|
|
|
}
|