about summary refs log blame commit diff stats
path: root/hosts/mammun/hardware/default.nix
blob: b1683d47f4109ce3fbef84fb1b62a3e4d109e6e5 (plain) (tree)
1
2
3
4
5
6
7
8
9






              
                                                      
             
             
    
                                        

                              
                                                                        



                                
                                                                                                 
    
{
  config,
  lib,
  pkgs,
  modulesPath,
  ...
}: {
  imports = [
    (modulesPath + "/installer/scan/not-detected.nix")
    ./cpu.nix
    ./gpu.nix
  ];

  nixpkgs.hostPlatform = "x86_64-linux";

  system.fileSystemLayouts = {
    enable = true;
    mainDisk = "/dev/disk/by-uuid/ac6c5efd-51a7-42e7-a8cd-668a350554b1";
    efiDisk = "/dev/disk/by-uuid/7931-40E5";
  };

  boot = {
    kernelModules = ["kvm-amd"];

    initrd.availableKernelModules = ["xhci_pci" "ahci" "ehci_pci" "sd_mod" "sr_mod" "sdhci_pci"];
  };
}