From 6930508add54338d56d98547bf1f2c408cb610b1 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 1 Jul 2024 11:41:14 -0500 Subject: [PATCH] regenerate hardware-config for othalan --- hosts/othalan/hardware-configuration.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/hosts/othalan/hardware-configuration.nix b/hosts/othalan/hardware-configuration.nix index 322e096..d2fc18a 100644 --- a/hosts/othalan/hardware-configuration.nix +++ b/hosts/othalan/hardware-configuration.nix @@ -7,6 +7,7 @@ modulesPath, ... }: + { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; @@ -14,8 +15,7 @@ "xhci_pci" "thunderbolt" "nvme" - "usb_storage" - "sd_mod" + "usbhid" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; @@ -29,6 +29,10 @@ fileSystems."/boot" = { device = "/dev/disk/by-uuid/FF65-E2AC"; fsType = "vfat"; + options = [ + "fmask=0022" + "dmask=0022" + ]; }; swapDevices = [ { device = "/dev/disk/by-uuid/bd64a1ba-f259-4b64-88cd-5585b9345f5a"; } ]; @@ -38,6 +42,9 @@ # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; + # networking.interfaces.docker0.useDHCP = lib.mkDefault true; + # networking.interfaces.enp0s13f0u3u1.useDHCP = lib.mkDefault true; + # networking.interfaces.vboxnet0.useDHCP = lib.mkDefault true; # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";