mob next [ci-skip] [ci skip] [skip ci]

lastFile:modules/clan/phonebox/default.nix
This commit is contained in:
2025-12-01 16:20:22 +07:00
parent ee05c0dad4
commit 0304c37c72
4 changed files with 5 additions and 19 deletions

View File

@@ -44,7 +44,6 @@
./machines
./routers
./inventories
./overlays
./modules/clan/flake-module.nix
./modules/nixos/flake-module.nix
];

View File

@@ -1,11 +0,0 @@
final: prev:
let
callLibs = file: import file { lib = prev; };
in
{
lib = prev.lib.extend (
finalLib: prevLib: {
getInterface = callLibs ./zerotier-interface.nix { };
}
);
}

View File

@@ -25,6 +25,7 @@
{
lib,
config,
pkgs,
...
}:
let
@@ -183,8 +184,11 @@
];
networking.firewall.interfaces =
let
matchAll = if !config.networking.nftables.enable then "zt+" else "zt*";
in
{ };
{
"${matchAll}".allowedTCPPorts = [ 80 ];
};
services.asterisk = {
enable = lib.mkDefault true;

View File

@@ -1,6 +0,0 @@
{ ... }:
{
flake.overlays = {
libsOverlay = import ../lib/default.nix;
};
}