alpha
Login
or
Join now
seanaye.bsky.social
/
nixos-config
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
me like nix
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
turn off power save on pi
author
Sean Aye
date
3 months ago
(Mar 22, 2026, 8:03 PM -0400)
commit
7d30a35d
7d30a35d97bceae6d707238842ea29e0c3fa8930
parent
2a91ec2e
2a91ec2e1542dc9047c12f08312a444d7eb94e27
change-id
xprnwuks
xprnwuksknnorkmvumxzswqpyuqymuqt
+13
-1
1 changed file
Expand all
Collapse all
Unified
Split
hosts
pi-common
wifi.nix
+13
-1
hosts/pi-common/wifi.nix
Reviewed
···
1
1
-
{ config, ... }:
1
1
+
{ config, pkgs, ... }:
2
2
3
3
{
4
4
# Pre-generated SSH host key for agenix decryption (shared across all Pis)
···
31
31
extraConfig = ''
32
32
freq_list=5180 5200 5220 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720 5745 5765 5785 5805 5825
33
33
'';
34
34
+
};
35
35
+
};
36
36
+
37
37
+
# Disable WiFi power save to prevent brcmfmac firmware hangs
38
38
+
systemd.services.wifi-powersave-off = {
39
39
+
description = "Disable WiFi power save";
40
40
+
after = [ "network.target" ];
41
41
+
wantedBy = [ "multi-user.target" ];
42
42
+
serviceConfig = {
43
43
+
Type = "oneshot";
44
44
+
ExecStart = "${pkgs.iw}/bin/iw dev wlan0 set power_save off";
45
45
+
RemainAfterExit = true;
34
46
};
35
47
};
36
48
}