From bcc9cd7e42b254a2d54e7bd5988d6a1da3b0e043 Mon Sep 17 00:00:00 2001 From: insert Date: Sat, 13 Apr 2024 16:04:54 -0400 Subject: [PATCH] Remove hardware-configuration --- .gitignore | 2 +- hardware-configuration.nix | 41 -------------------------------------- 2 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 hardware-configuration.nix diff --git a/.gitignore b/.gitignore index 00ee199..3cfc787 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ result result-* secrets - +hardware-configuration.nix diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index f4402ad..0000000 --- a/hardware-configuration.nix +++ /dev/null @@ -1,41 +0,0 @@ -# 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. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/b997879c-fbf7-4368-9f90-7a5c9655133a"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/18B3-A4B9"; - fsType = "vfat"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/e5929d9b-2beb-4d9f-adef-33f4d3b74a89"; } - ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # 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.enp2s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -}