From dca64dd6c288f888d3766278a6e906b1ec2fa8b2 Mon Sep 17 00:00:00 2001 From: kiri Date: Thu, 4 Dec 2025 18:41:59 +0100 Subject: [PATCH] Enable wake-on-lan for polaris --- hosts/polaris/system.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/polaris/system.nix b/hosts/polaris/system.nix index 309f3e2..8b2e5ed 100644 --- a/hosts/polaris/system.nix +++ b/hosts/polaris/system.nix @@ -3,10 +3,22 @@ imports = [ ../../modules/nixos/desktop.nix + ../../modules/nixos/ssh.nix ./hardware-configuration.nix ./variables.nix ]; + networking = { + interfaces = { + enp5s0 = { + wakeOnLan.enable = true; + }; + }; + firewall = { + allowedUDPPorts = [ 9 ]; + }; + }; + home-manager.users."${config.var.username}" = import ./home.nix; system.stateVersion = "24.05";