From b55017468ef97138b7d2fc56e99856c2e3a55bdd Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Wed, 5 Nov 2025 01:43:59 +0100 Subject: [PATCH] feat: wakeonlan --- hosts/hitsugibune/configuration.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/hosts/hitsugibune/configuration.nix b/hosts/hitsugibune/configuration.nix index 85d4d5a..75fe51f 100644 --- a/hosts/hitsugibune/configuration.nix +++ b/hosts/hitsugibune/configuration.nix @@ -43,6 +43,7 @@ in { boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "hitsugibune"; + networking.interfaces.enp0s31f6.wakeOnLan.enable = true; time.timeZone = "Europe/Vienna"; nixpkgs.config.allowUnfreePredicate = pkg: @@ -57,14 +58,15 @@ in { ]; environment.systemPackages = with pkgs; [ - vim - wget + bc + btop git - temurin-bin-17 mcrcon rsync - btop - bc + temurin-bin-17 + vim + wakeonlan + wget ]; services.openssh = { @@ -78,7 +80,8 @@ in { nix.settings.experimental-features = ["nix-command" "flakes"]; - networking.firewall.allowedUDPPorts = [24454]; + # 9 wake on lan + networking.firewall.allowedUDPPorts = [24454 9]; services.modded-minecraft-servers = { # This is mandatory, sorry.