Compare commits

...

4 Commits

Author SHA1 Message Date
Zynh Ludwig 53064f8db6 wakeonlan: unicast activity 2024-07-25 05:16:30 -07:00
Zynh Ludwig d415e110e8 snowhawk: wakeOnLan 2024-07-25 05:10:03 -07:00
Zynh Ludwig 5c94d8d809 snowhawk: enable avahi 2024-07-25 04:42:04 -07:00
Zynh Ludwig 58cfd9ef4e snowhawk: enable ssh firewall holes 2024-07-25 04:24:53 -07:00
1 changed files with 14 additions and 0 deletions

View File

@ -110,6 +110,20 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh.openFirewall = true;
services.avahi.enable = true;
systemd.services.wakeonlan = {
description = "reenable wakeonlan every boot";
after = [ "network.target" ];
serviceConfig = {
Type = "simple";
RemainAfterExit = "true";
ExecStart = "${pkgs.ethtool}/sbin/ethtool -s enp7s0 wol u";
};
wantedBy = [ "default.target" ];
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];