hosts/modules: remove unused yggdrasil

This commit is contained in:
Colin 2024-06-04 13:58:49 +00:00
parent 9f9fc7d65b
commit 43a63d4f6e
2 changed files with 0 additions and 31 deletions

View File

@ -8,6 +8,5 @@
./roles
./services
./wg-home.nix
./yggdrasil.nix
];
}

View File

@ -1,30 +0,0 @@
# docs: <nixpkgs:nixos/modules/services/networking/yggdrasil.md>
# - or message CW/0x00
{ config, lib, ... }:
let
inherit (lib) mkIf mkOption types;
cfg = config.sane.yggdrasil;
in
{
options.sane.yggdrasil = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf cfg.enable {
services.yggdrasil = {
enable = true;
persistentKeys = true;
settings = {
IFName = "ygg0";
Peers = [
"tls://longseason.1200bps.xyz:13122"
];
};
};
};
}