all repos — nixfiles @ 05dd85210e465caa44ef7254f2781b2d12ba2882

System and user configuration, managed by nix and home-manager

Reformat files with alejandra

Alan Pearce
commit

05dd85210e465caa44ef7254f2781b2d12ba2882

parent

472dbbdbb246cf3d8ce3a5c3c6cefaa07b7589df

1 file changed, 10 insertions(+), 7 deletions(-)

changed files
M system/settings/hardware/bare-metal.nixsystem/settings/hardware/bare-metal.nix
@@ -1,8 +1,11 @@
-{ config, pkgs, ... }: - -{ environment.systemPackages = with pkgs; [ +{ + config, + pkgs, + ... +}: { + environment.systemPackages = with pkgs; [ exfat - efibootmgr + efibootmgr cryptsetup dmidecode hdparm
@@ -28,7 +31,7 @@ # set scheduler for rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq" ''; - boot.kernelModules = [ "tcp_bbr" ]; + boot.kernelModules = ["tcp_bbr"]; boot.kernel.sysctl = { "net.core.default_qdisc" = "cake"; "net.ipv4.tcp_allowed_congestion_control" = "bbr illinois reno lp";
@@ -44,6 +47,6 @@ algorithm = "zstd";
}; boot.tmpOnTmpfs = true; - fileSystems."/".options = [ "noatime" "nodiratime" ]; - fileSystems."/home".options = [ "noatime" "nodiratime" ]; + fileSystems."/".options = ["noatime" "nodiratime"]; + fileSystems."/home".options = ["noatime" "nodiratime"]; }