dotfiles/curacao/homeautomation/default.nix

20 lines
462 B
Nix
Raw Normal View History

2024-12-15 00:29:51 +01:00
{
pkgs,
lib,
config,
...
}:
{
config = {
2024-04-23 17:57:20 +02:00
networking = {
# Allow mpd control from home assistant and phone
firewall.extraCommands = ''
iptables -A nixos-fw -p tcp -m tcp --dport 6600 -s 192.168.7.53 -j nixos-fw-accept
iptables -A nixos-fw -p tcp -m tcp --dport 6600 -s 192.168.7.92 -j nixos-fw-accept
'';
interfaces.enp3s0.wakeOnLan.enable = true;
};
2024-08-11 10:01:36 +02:00
services.tlp.settings.WOL_DISABLE = false;
};
}