Clean files + add IP to hosts

This commit is contained in:
zuma 2025-11-06 22:21:20 +01:00
parent ca436c49a3
commit b6d31e25b9
6 changed files with 140 additions and 110 deletions

View file

@ -1,6 +1,11 @@
{ config, pkgs, lib, ...} @ args:
with builtins;
with lib;
{
config,
pkgs,
lib,
...
}@args:
with builtins;
with lib;
{
options.filouterie = with types; {
hostName = mkOption {
@ -17,21 +22,21 @@
description = "Nodes that are part of this cluster";
type = attrsOf (submodule {
options = {
address = mkOption {
address = mkOption {
type = str;
description = "IP Address in the Wireguard network";
};
description = "IP Address in the Wireguard network";
};
pubkey = mkOption {
pubkey = mkOption {
type = str;
description = "Wireguard public key";
};
description = "Wireguard public key";
};
endpoint = mkOption {
endpoint = mkOption {
type = str;
description = "Wireguard endpoint on the public internet";
};
};
description = "Wireguard endpoint on the public internet";
};
};
});
};
};