From fc96d1d0ae2247939eaebd12cdeaea702cd54ea7 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Tue, 17 Sep 2024 12:30:05 -0300 Subject: [PATCH] fix(desktop): make WoL specific to it --- modules/nixos/system.nix | 3 --- specific/desktop/nixos.nix | 7 +++++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/nixos/system.nix b/modules/nixos/system.nix index 2abe44a..c9640bc 100644 --- a/modules/nixos/system.nix +++ b/modules/nixos/system.nix @@ -27,9 +27,6 @@ # Enable networking networking.networkmanager.enable = true; - # Enable WOL on my ethernet interface. - networking.interfaces.enp5s0.wakeOnLan.enable = true; - # Define variables that will be initialized in PAM. environment.sessionVariables = { # Set env for Fcitx5 diff --git a/specific/desktop/nixos.nix b/specific/desktop/nixos.nix index 3b59bcd..2514b97 100644 --- a/specific/desktop/nixos.nix +++ b/specific/desktop/nixos.nix @@ -131,4 +131,11 @@ LC_TIME = "en_GB.UTF-8"; }; }; + + # + # NETWORK # + # + + # Enable WOL on my ethernet interface. + networking.interfaces.enp5s0.wakeOnLan.enable = true; }