refactor ssh and add WOL to laptop
This commit is contained in:
7
modules/wake-on-lan.nix
Normal file
7
modules/wake-on-lan.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, vars, ... }:
|
||||
let
|
||||
interface = vars.interface;
|
||||
in
|
||||
{
|
||||
networking.interfaces.${interface}.wakeOnLan.enable;
|
||||
}
|
||||
Reference in New Issue
Block a user