enabled wake on lan
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
flake.nixosModules.hackstationConfiguration = {pkgs, ...}: {
|
flake.nixosModules.hackstationConfiguration = {pkgs, ...}: {
|
||||||
networking.hostName = "HACKSTATION";
|
networking = {
|
||||||
|
interfaces.enp5s0.wakeOnLan.enable = true;
|
||||||
|
hostName = "HACKSTATION"; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user