summaryrefslogtreecommitdiff
path: root/tests/networking-wakeonlan.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/networking-wakeonlan.nix')
-rw-r--r--tests/networking-wakeonlan.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/networking-wakeonlan.nix b/tests/networking-wakeonlan.nix
new file mode 100644
index 0000000..745c39c
--- /dev/null
+++ b/tests/networking-wakeonlan.nix
@@ -0,0 +1,10 @@
+{ config, pkgs, ... }:
+
+{
+ networking.wakeOnLan.enable = true;
+
+ test = ''
+ echo checking wake on network access settings in /activate >&2
+ grep "systemsetup -setWakeOnNetworkAccess 'on'" ${config.out}/activate
+ '';
+}