diff options
author | makefu <github@syntax-fehler.de> | 2016-07-30 18:42:57 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-07-30 18:42:57 +0200 |
commit | 75cecd1f2e1ea789d574e4092bc5c2725edf2c00 (patch) | |
tree | a304bdf670954191e925d441c842a5d1bda9a1a9 /makefu/1systems | |
parent | d3e9830f9850591e5a0e0820b785fd324087ac40 (diff) |
m 1 filepimp: enable wol
Diffstat (limited to 'makefu/1systems')
-rw-r--r-- | makefu/1systems/filepimp.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/makefu/1systems/filepimp.nix b/makefu/1systems/filepimp.nix index c6966c99c..4037f693d 100644 --- a/makefu/1systems/filepimp.nix +++ b/makefu/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"; + } + ]; } |