enabled wake on lan

This commit is contained in:
2026-07-12 14:08:11 +01:00
parent 0920cf080d
commit f5664dd863
2 changed files with 3 additions and 22 deletions

View File

@@ -4,6 +4,8 @@
...
}: {
flake.nixosModules.hackstationConfiguration = {pkgs, ...}: {
networking.hostName = "HACKSTATION";
networking = {
interfaces.enp5s0.wakeOnLan.enable = true;
hostName = "HACKSTATION"; };
};
}

View File

@@ -1,21 +0,0 @@
{
self,
inputs,
...
}: {
flake.nixosModules.networking = {
pkgs,
lib,
...
}: let
modules = with self.nixosModules; [
networking
];
in {
imports = modules;
networking = {
# Just for hackstation, replace enp5s0 with primary interface
interfaces.enp5s0.wakeOnLan.enable = true;
};
};
}