about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hardware/pc/hardware.nix2
-rw-r--r--hosts/home.nix1
2 files changed, 3 insertions, 0 deletions
diff --git a/hardware/pc/hardware.nix b/hardware/pc/hardware.nix
index d0b2fff..5f650d5 100644
--- a/hardware/pc/hardware.nix
+++ b/hardware/pc/hardware.nix
@@ -67,4 +67,6 @@ in {
   environment.systemPackages = with pkgs; [
     clinfo
   ];
+
+  networking.interfaces.eth0.wakeOnLan.enable = true;
 }
diff --git a/hosts/home.nix b/hosts/home.nix
index 144897c..db4a610 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -42,6 +42,7 @@
         polkit_gnome
         nixpkgs-fmt
         virt-manager
+        wol
         xmonadctl
         xdotool #needed for xmobar clickable workspaces
         xlockmore