[Nix-dev] How do I enable wake-on-LAN?

2015-10-04 Thread yasu
Hello, I am trying to enable wake-on-LAN on my PC so I added below line to /etc/nixos/configuration.nix services.wakeonlan.interfaces = [ { interface = "enp2s0"; method = "magicpacket"; }] ; However, I think it is still disabled after nixos-rebuild switch , the status-of Wake-on 'd' for dis

Re: [Nix-dev] How do I enable wake-on-LAN?

2015-10-04 Thread Joel Moberg
The manual for configuration options links to the sources. You can look at https://github.com/NixOS/nixpkgs/blob/2702f01ee91b264e623ed762c34f3f2d390b3987/nixos/modules/services/networking/wakeonlan.nix There it looks like powerManagem.enable needs to be true. Other than this I have few ideas, you