mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/phonebox/default.nix
This commit is contained in:
@@ -44,7 +44,6 @@
|
||||
./machines
|
||||
./routers
|
||||
./inventories
|
||||
./overlays
|
||||
./modules/clan/flake-module.nix
|
||||
./modules/nixos/flake-module.nix
|
||||
];
|
||||
|
||||
@@ -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 { };
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
{ ... }:
|
||||
{
|
||||
flake.overlays = {
|
||||
libsOverlay = import ../lib/default.nix;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user