refactor ssh and add WOL to laptop

This commit is contained in:
Kopatz
2023-11-16 18:28:18 +01:00
parent f37d03337f
commit b584dafa8c
8 changed files with 36 additions and 22 deletions

7
modules/wake-on-lan.nix Normal file
View File

@@ -0,0 +1,7 @@
{ config, pkgs, lib, vars, ... }:
let
interface = vars.interface;
in
{
networking.interfaces.${interface}.wakeOnLan.enable;
}