about summary refs log tree commit diff stats
path: root/hosts/_unmaintained/mammun/hardware/default.nix
blob: b1683d47f4109ce3fbef84fb1b62a3e4d109e6e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  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"];
  };
}