mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/routnerr-2: regenerate hardware config and nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
41f5c9e3f8
commit
8292dfefef
3 changed files with 7 additions and 8 deletions
|
@ -122,9 +122,7 @@ in {
|
|||
permitRootLogin = "no";
|
||||
};
|
||||
|
||||
prometheus.exporters = {
|
||||
modemmanager.enable = true;
|
||||
};
|
||||
prometheus.exporters = { modemmanager.enable = true; };
|
||||
|
||||
tftpd = {
|
||||
enable = true;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue