Compare commits
4 Commits
a4c54ec50d
...
53064f8db6
Author | SHA1 | Date |
---|---|---|
Zynh Ludwig | 53064f8db6 | |
Zynh Ludwig | d415e110e8 | |
Zynh Ludwig | 5c94d8d809 | |
Zynh Ludwig | 58cfd9ef4e |
|
@ -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 = [ ... ];
|
||||
|
|
Loading…
Reference in New Issue