about summary refs log tree commit diff
path: root/machines/asus/hardware-configuration.nix
diff options
context:
space:
mode:
authorPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 16:23:16 +0200
committerPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 16:23:16 +0200
commit4f591cc9c9663c413e8eb5cd8401a34a3251e30c (patch)
treedc46f698af4d5ba288e9e6707c2bc960e913bdd8 /machines/asus/hardware-configuration.nix
parent4fa1a6efad786affb0729603de846d2034580db2 (diff)
downloaddots-4f591cc9c9663c413e8eb5cd8401a34a3251e30c.tar.gz
dots-4f591cc9c9663c413e8eb5cd8401a34a3251e30c.zip
Remove old machines
Diffstat (limited to 'machines/asus/hardware-configuration.nix')
-rw-r--r--machines/asus/hardware-configuration.nix63
1 files changed, 0 insertions, 63 deletions
diff --git a/machines/asus/hardware-configuration.nix b/machines/asus/hardware-configuration.nix
deleted file mode 100644
index 303ebe5..0000000
--- a/machines/asus/hardware-configuration.nix
+++ /dev/null
@@ -1,63 +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, ... }:
-
-{
-  imports =
-    [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
-    ];
-
-  boot.initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_acpi" ];
-  boot.initrd.kernelModules = [ "brcmfmac" ];
-  boot.kernelModules = [ "kvm-intel" ];
-  boot.extraModulePackages = [ ];
-
-  boot.kernelParams = [ "intel_idle.max_cstate=1" ];
-
-  boot.initrd.prepend = [ "${./acpi_override}" ];
-  boot.kernelPatches = [
-    {
-      name = "acpi_upgrade";
-      patch = null;
-      extraConfig = ''
-        ACPI_TABLE_UPGRADE y
-      '';
-    }
-  ];
-
-  nixpkgs.config.allowUnfree = true;
-  hardware.enableRedistributableFirmware = true;
-  hardware.enableAllFirmware = true;
-  hardware.firmware = [
-    (pkgs.callPackage ./brcm.nix {})
-  ];
-
-  boot.loader = {
-    efi = {
-      canTouchEfiVariables = true;
-      efiSysMountPoint = "/boot";
-    };
-    grub = {
-      efiSupport = true;
-      device = "nodev";
-    };
-  };
-
-  fileSystems."/" = lib.mkForce
-    { device = "/dev/disk/by-uuid/7ee757e6-4f50-4681-9b5b-27c2cb1f84e4";
-      fsType = "ext4";
-    };
-
-  fileSystems."/boot" = lib.mkForce
-    { device = "/dev/disk/by-uuid/5386-B9AE";
-      fsType = "vfat";
-    };
-
-  swapDevices = lib.mkForce
-    [ { device = "/dev/disk/by-uuid/8924970e-10bd-4d6f-a137-61d05a886106"; }
-    ];
-
-  nix.maxJobs = lib.mkDefault 4;
-  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
-}