xin/hosts/faf/hardware-configuration.nix

79 lines
1.4 KiB
Nix
Raw Normal View History

2022-08-25 12:21:35 -06:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
2023-09-12 08:44:05 -06:00
{ config
, lib
, modulesPath
, ...
2023-07-11 09:12:50 -06:00
}: {
2023-09-12 08:44:05 -06:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2022-08-25 12:21:35 -06:00
2023-09-12 08:44:05 -06:00
boot = {
initrd.availableKernelModules = [
"uhci_hcd"
"ehci_pci"
"ahci"
"xhci_pci"
"sata_sil24"
"usb_storage"
"usbhid"
"sd_mod"
];
initrd.kernelModules = [ ];
kernelModules = [ ];
extraModulePackages = [ ];
2022-08-25 12:21:35 -06:00
};
2023-09-12 08:44:05 -06:00
fileSystems = {
"/" = {
device = "tank/nixos";
fsType = "zfs";
};
2022-08-25 12:21:35 -06:00
2023-09-12 08:44:05 -06:00
"/nix" = {
device = "tank/nixos/nix";
fsType = "zfs";
};
2022-08-25 12:21:35 -06:00
2023-09-12 08:44:05 -06:00
"/etc" = {
device = "tank/nixos/etc";
fsType = "zfs";
};
2022-08-25 12:21:35 -06:00
2023-09-12 08:44:05 -06:00
"/var" = {
device = "tank/nixos/var";
fsType = "zfs";
};
2022-08-25 12:21:35 -06:00
2023-09-12 08:44:05 -06:00
"/var/lib" = {
device = "tank/nixos/var/lib";
fsType = "zfs";
};
2022-08-25 12:21:35 -06:00
2023-09-12 08:44:05 -06:00
"/var/log" = {
device = "tank/nixos/var/log";
fsType = "zfs";
};
2022-08-25 12:21:35 -06:00
2023-09-12 08:44:05 -06:00
"/var/spool" = {
device = "tank/nixos/var/spool";
fsType = "zfs";
};
"/home" = {
device = "tank/userdata/home";
fsType = "zfs";
};
2022-08-25 12:21:35 -06:00
2023-09-12 08:44:05 -06:00
"/boot" = {
device = "/dev/disk/by-uuid/5851-DEF2";
fsType = "vfat";
};
2022-08-25 12:21:35 -06:00
};
2023-09-12 08:44:05 -06:00
swapDevices = [ ];
2022-08-25 12:21:35 -06:00
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
}