summaryrefslogtreecommitdiff
path: root/liku/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'liku/hardware-configuration.nix')
-rw-r--r--liku/hardware-configuration.nix36
1 files changed, 0 insertions, 36 deletions
diff --git a/liku/hardware-configuration.nix b/liku/hardware-configuration.nix
deleted file mode 100644
index b5c78cb..0000000
--- a/liku/hardware-configuration.nix
+++ /dev/null
@@ -1,36 +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" "sr_mod" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-intel" ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/D95E-E4E3";
- fsType = "vfat";
- };
-
- fileSystems."/boot-fallback" =
- { device = "/dev/disk/by-uuid/D95F-2A39";
- fsType = "vfat";
- };
-
- swapDevices = [ ];
-
- # Enables DHCP on the right ethernet interface.
- networking.interfaces.enp3s0.useDHCP = true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
- hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
- # high-resolution display
- hardware.video.hidpi.enable = lib.mkDefault true;
-}