about summary refs log tree commit diff stats
path: root/hosts/spawn/hardware/default.nix
blob: f6500ed5a7f9de7c30b61f9ab7dfb95b892c4f89 (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
28
{
  config,
  lib,
  pkgs,
  modulesPath,
  ...
}: {
  imports = [
    (modulesPath + "/installer/scan/not-detected.nix")
    (modulesPath + "/installer/scan/detected.nix")
    # (modulesPath + "/installer/cd-dvd/installation-cd-base.nix")

    (modulesPath + "/profiles/base.nix")
    (modulesPath + "/profiles/minimal.nix")
    (modulesPath + "/profiles/all-hardware.nix")
  ];

  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";

  system.fileSystemLayouts = {
    enable = true;
    mainDisk = "/dev/disk/by-uuid/<uuid>";
    efiDisk = "/dev/disk/by-uuid/<uuid>";
  };

  boot = {
  };
}