From bfc36c2faaab2c38e08c296ef22ac2efc50da7e0 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 7 Nov 2024 00:48:52 +0100 Subject: [PATCH] benzaiten enable facter --- systems/benzaiten/default.nix | 2 ++ systems/benzaiten/hardware-configuration.nix | 26 -------------------- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/systems/benzaiten/default.nix b/systems/benzaiten/default.nix index a7947fc..7323b74 100644 --- a/systems/benzaiten/default.nix +++ b/systems/benzaiten/default.nix @@ -14,6 +14,8 @@ nixos-hardware.nixosModules.common-pc-laptop-hdd ]; + facter.reportPath = ./facter.json; + jopejoe1 = { audio = { enable = true; diff --git a/systems/benzaiten/hardware-configuration.nix b/systems/benzaiten/hardware-configuration.nix index 729e977..0368cb5 100644 --- a/systems/benzaiten/hardware-configuration.nix +++ b/systems/benzaiten/hardware-configuration.nix @@ -1,38 +1,12 @@ { - config, - lib, - modulesPath, ... }: { - imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - - boot.initrd.availableKernelModules = [ - "xhci_pci" - "ehci_pci" - "ahci" - "usb_storage" - "sd_mod" - "sr_mod" - "sdhci_pci" - "rtsx_pci_sdmmc" - ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ - "kvm-intel" - "coretemp" - ]; - boot.extraModulePackages = [ ]; - fileSystems."/" = { device = "/dev/disk/by-uuid/1cae8f88-5db6-4c97-88e4-350c35275d5c"; fsType = "ext4"; }; swapDevices = [ { device = "/dev/disk/by-uuid/8569ee66-b939-4ce8-a94a-dca7df5e301b"; } ]; - - networking.useDHCP = lib.mkDefault true; - - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }