From b1b456f0d9c075379c4fad1462d0116376764d86 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 30 Jul 2016 18:42:57 +0200 Subject: [PATCH] m 1 filepimp: enable wol --- 1systems/filepimp.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/1systems/filepimp.nix b/1systems/filepimp.nix index c6966c9..4037f69 100644 --- a/1systems/filepimp.nix +++ b/1systems/filepimp.nix @@ -3,6 +3,7 @@ let byid = dev: "/dev/disk/by-id/" + dev; part1 = disk: disk + "-part1"; rootDisk = byid "ata-SanDisk_SDSSDP064G_140237402890"; + primary-interface = "enp2s0"; # c8:cb:b8:cf:e4:dc # N54L Chassis: # ____________________ # |______FRONT_______| @@ -75,4 +76,11 @@ in { (xfsmount "j2" (part1 jDisk2)) // (xfsmount "par0" (part1 jDisk3)) ; + services.wakeonlan.interfaces = [ + { + interface = primary-interface; + method = "password"; + password = "CA:FE:BA:BE:13:37"; + } + ]; }