aboutsummaryrefslogtreecommitdiff
path: root/hosts/copenhagen/hardware-configuration.nix
blob: be9ad1c26c8b22aa6da0f4938dae219868ce921d (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ config, lib, pkgs, modulesPath, ... }:

{
  imports = [
    (modulesPath + "/installer/scan/not-detected.nix")
  ];

  # boot = {
  #   loader.grub = {
  #     enable = true;

  #     efiSupport = true;
  #     efiInstallAsRemovable = true;
  #     mirroredBoots = [
  #       { devices = [ "nodev" ]; path = "/boot"; }
  #     ];
  #   };

  #   initrd = {
  #     availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
  #     kernelModules = [ ];
  #   };

  #   kernelModules = [ "kvm-amd" ];
  #   extraModulePackages = [ ];

  #   supportedFilesystems = [ "ntfs" ];
  # };

  # fileSystems = {
  #   "/"        = { fsType = "zfs"; device = "zpool/root"; };
  #   "/home"    = { fsType = "zfs"; device = "zpool/home"; };
  #   "/persist" = { fsType = "zfs"; device = "zpool/persist"; };
  #   "/nix"     = { fsType = "zfs"; device = "zpool/nix"; };

  #   "/boot"    = { fsType = "vfat"; device = "/dev/disk/by-uuid/12CE-A600"; };

  #   "/mnt/4tb" = { fsType = "ext4"; device = "/dev/disk/by-label/4tb"; };
  #   "/mnt/ssd" = { fsType = "ext4"; device = "/dev/disk/by-label/ssd-256"; };
  # };

  # swapDevices = [ ];

  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
  # hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}