hosts/modules: remove unused yggdrasil
This commit is contained in:
@@ -8,6 +8,5 @@
|
|||||||
./roles
|
./roles
|
||||||
./services
|
./services
|
||||||
./wg-home.nix
|
./wg-home.nix
|
||||||
./yggdrasil.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -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"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
Reference in New Issue
Block a user