finish later

This commit is contained in:
2025-10-08 17:25:39 -05:00
parent 3d0bd560fb
commit 7f224bd6fc
2 changed files with 92 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{ config, lib, ... }: {
options = {
sysconfig.wireguard.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
};
config = lib.mkIf config.sysconfig.wireguard.enable {
networking.wireguard = {
enable = true;
interfaces.wg0 = {
};
};
};
}