From 0a50d682ec85bf023bebd68a3ca388001f0c0677 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 8 Oct 2019 21:44:57 +0200 Subject: mv modules settings --- system/modules/hardware/bare-metal.nix | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 system/modules/hardware/bare-metal.nix (limited to 'system/modules/hardware/bare-metal.nix') diff --git a/system/modules/hardware/bare-metal.nix b/system/modules/hardware/bare-metal.nix deleted file mode 100644 index 0a61790a..00000000 --- a/system/modules/hardware/bare-metal.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ config, pkgs, ... }: - -{ environment.systemPackages = with pkgs; [ - fuse_exfat - cryptsetup - dmidecode - hdparm - pciutils - usbutils - ]; - - hardware.cpu.intel.updateMicrocode = true; - - boot.kernel.sysctl = { - "net.ipv4.tcp_allowed_congestion_control" = "illinois reno lp"; - "net.ipv4.tcp_congestion_control" = "illinois"; - }; - - zramSwap = { - enable = true; - algorithm = "zstd"; - }; - boot.tmpOnTmpfs = true; - - boot.kernelModules = [ "bfq" ]; - - fileSystems."/".options = [ "noatime" "nodiratime" ]; - fileSystems."/home".options = [ "noatime" "nodiratime" ]; -} -- cgit 1.4.1