1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/servnerr-3: regenerate hardware configuration

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2022-01-31 20:31:11 -05:00
parent c71716357e
commit e299f63e02
No known key found for this signature in database
GPG key ID: 77BFE531397EDE94

View file

@ -1,12 +1,13 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ lib, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ]; imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "sd_mod" ]; boot.initrd.availableKernelModules =
[ "nvme" "xhci_pci" "ahci" "mpt3sas" "uas" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
@ -26,6 +27,16 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/primary/vm" = {
device = "primary/vm";
fsType = "zfs";
};
fileSystems."/primary/misc" = {
device = "primary/misc";
fsType = "zfs";
};
fileSystems."/primary/media" = { fileSystems."/primary/media" = {
device = "primary/media"; device = "primary/media";
fsType = "zfs"; fsType = "zfs";
@ -36,23 +47,15 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/primary/misc" = {
device = "primary/misc";
fsType = "zfs";
};
fileSystems."/primary/text" = { fileSystems."/primary/text" = {
device = "primary/text"; device = "primary/text";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/primary/vm" = {
device = "primary/vm";
fsType = "zfs";
};
swapDevices = swapDevices =
[{ device = "/dev/disk/by-uuid/51302f97-4b06-4bc1-8200-13217440af0f"; }]; [{ device = "/dev/disk/by-uuid/51302f97-4b06-4bc1-8200-13217440af0f"; }];
nix.maxJobs = lib.mkDefault 16; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
} }