dotfiles/nixos/physical/3950x-hardware-config.nix

39 lines
1.0 KiB
Nix
Raw Normal View History

2020-05-21 17:39:38 +02: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.
2021-01-03 17:12:16 +01:00
{ config, lib, pkgs, modulesPath, ... }:
2020-05-21 17:39:38 +02:00
{
imports =
2021-01-03 17:12:16 +01:00
[ (modulesPath + "/installer/scan/not-detected.nix")
2020-05-21 17:39:38 +02:00
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "rpool/root/nixos";
fsType = "zfs";
};
fileSystems."/home" =
{ device = "rpool/home-enc";
2020-05-21 17:39:38 +02:00
fsType = "zfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/5D0A-7902";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/61a23e27-2cd4-4456-bcde-aec68be04239"; }
];
nix.maxJobs = lib.mkDefault 32;
# High-DPI console
#i18n.consoleFont = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
}