diff --git a/nixos/routnerr-2/configuration.nix b/nixos/routnerr-2/configuration.nix index bf417f3..bc8b899 100644 --- a/nixos/routnerr-2/configuration.nix +++ b/nixos/routnerr-2/configuration.nix @@ -122,9 +122,7 @@ in { permitRootLogin = "no"; }; - prometheus.exporters = { - modemmanager.enable = true; - }; + prometheus.exporters = { modemmanager.enable = true; }; tftpd = { enable = true; diff --git a/nixos/routnerr-2/corerad.nix b/nixos/routnerr-2/corerad.nix index ee8e109..685be6d 100644 --- a/nixos/routnerr-2/corerad.nix +++ b/nixos/routnerr-2/corerad.nix @@ -37,10 +37,10 @@ in { preference = ifi.preference; # Advertise all /64 prefixes on the interface. - prefix = [{}]; + prefix = [ { } ]; # Automatically use the appropriate interface address as a DNS server. - rdnss = [{}]; + rdnss = [ { } ]; } // ( # Configure DNS search on some trusted LANs, or omit otherwise. if ifi.internal_dns then { diff --git a/nixos/routnerr-2/hardware-configuration.nix b/nixos/routnerr-2/hardware-configuration.nix index 4055eaf..4c0e164 100644 --- a/nixos/routnerr-2/hardware-configuration.nix +++ b/nixos/routnerr-2/hardware-configuration.nix @@ -1,10 +1,10 @@ # 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. -{ lib, ... }: +{ config, lib, pkgs, modulesPath, ... }: { - imports = [ ]; + imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "ehci_pci" "sd_mod" "sdhci_pci" ]; @@ -20,5 +20,6 @@ swapDevices = [{ device = "/dev/disk/by-uuid/56b049fa-6f09-4bc7-97e3-0c790cfa354a"; }]; - nix.maxJobs = lib.mkDefault 4; + hardware.cpu.amd.updateMicrocode = + lib.mkDefault config.hardware.enableRedistributableFirmware; }