File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 3333 "drm.panic_screen=qr_code"
3434 ] ;
3535 kernel . sysctl . "kernel.sysrq" = 1 ;
36+ kernel . sysctl . "net.core.default_qdisc" = "cake" ;
37+ kernel . sysctl . "net.ipv4.tcp_congestion_control" = "bbr" ;
3638 } ;
3739
3840 fileSystems . "/games" = {
Original file line number Diff line number Diff line change 1- _ :
1+ { pkgs , ... } :
22{
33 networking = {
44 networkmanager = {
4545 trustedInterfaces = [ "virbr0" "tailscale0" ] ;
4646 } ;
4747 } ;
48+ systemd . services . wifi-performance = {
49+ description = "Disable Wi-Fi Power Save" ;
50+ wantedBy = [ "multi-user.target" ] ;
51+ after = [ "network.target" ] ;
52+ serviceConfig = {
53+ Type = "oneshot" ;
54+ ExecStart = "${ pkgs . iw } /bin/iw dev wlan0 set power_save off" ;
55+ RemainAfterExit = true ;
56+ } ;
57+ } ;
4858}
You can’t perform that action at this time.
0 commit comments