diff options
author | Alan Pearce | 2019-10-08 21:44:57 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-08 21:44:57 +0200 |
commit | 0a50d682ec85bf023bebd68a3ca388001f0c0677 (patch) | |
tree | 3f725c5a36633ec5b59df37f156a03ee2a971656 /system/modules/hardware/bare-metal.nix | |
parent | 40fd4964068d0b7628b6f699dab4aec200eadb0a (diff) | |
download | nixfiles-0a50d682ec85bf023bebd68a3ca388001f0c0677.tar.lz nixfiles-0a50d682ec85bf023bebd68a3ca388001f0c0677.tar.zst nixfiles-0a50d682ec85bf023bebd68a3ca388001f0c0677.zip |
mv modules settings
Diffstat (limited to 'system/modules/hardware/bare-metal.nix')
-rw-r--r-- | system/modules/hardware/bare-metal.nix | 29 |
1 files changed, 0 insertions, 29 deletions
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" ]; -} |