mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/phonebox/default.nix
This commit is contained in:
@@ -44,7 +44,6 @@
|
|||||||
./machines
|
./machines
|
||||||
./routers
|
./routers
|
||||||
./inventories
|
./inventories
|
||||||
./overlays
|
|
||||||
./modules/clan/flake-module.nix
|
./modules/clan/flake-module.nix
|
||||||
./modules/nixos/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,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@@ -183,8 +184,11 @@
|
|||||||
];
|
];
|
||||||
networking.firewall.interfaces =
|
networking.firewall.interfaces =
|
||||||
let
|
let
|
||||||
|
matchAll = if !config.networking.nftables.enable then "zt+" else "zt*";
|
||||||
in
|
in
|
||||||
{ };
|
{
|
||||||
|
"${matchAll}".allowedTCPPorts = [ 80 ];
|
||||||
|
};
|
||||||
|
|
||||||
services.asterisk = {
|
services.asterisk = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
{ ... }:
|
|
||||||
{
|
|
||||||
flake.overlays = {
|
|
||||||
libsOverlay = import ../lib/default.nix;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user