mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
firewall changes
This commit is contained in:
parent
4ce4b54b4f
commit
be8777af35
2 changed files with 4 additions and 3 deletions
|
@ -11,7 +11,8 @@ in
|
||||||
# ${pkgs.nftables}/bin/nft -f - <<EOF
|
# ${pkgs.nftables}/bin/nft -f - <<EOF
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
${pkgs.nftables}/bin/nft insert rule filter nixos-fw ip saddr 100.64.0.0-100.64.255.255 iifname "enp2s0" counter
|
# Already handled by tailscale in ts-input
|
||||||
|
# ${pkgs.nftables}/bin/nft insert rule filter nixos-fw ip saddr 100.64.0.0-100.64.255.255 iifname "enp2s0" counter jump nixos-fw-log-refuse
|
||||||
'';
|
'';
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ in
|
||||||
{
|
{
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [3001];
|
allowedTCPPorts = [3001];
|
||||||
}
|
};
|
||||||
|
|
||||||
system.activationScripts.copyStuff = "cp -r ${../../../rsrcs/giteaCustomDir}/. /Aurora/Forgejo/custom";
|
system.activationScripts.copyStuff = "cp -r ${../../../rsrcs/giteaCustomDir}/. /Aurora/Forgejo/custom";
|
||||||
system.activationScripts.copyTheme = "mkdir -p /Aurora/Forgejo/custom/public/assets/css && cp ${palenight}/dist/theme-palenight.css /Aurora/Forgejo/custom/public/assets/css/";
|
system.activationScripts.copyTheme = "mkdir -p /Aurora/Forgejo/custom/public/assets/css && cp ${palenight}/dist/theme-palenight.css /Aurora/Forgejo/custom/public/assets/css/";
|
||||||
|
|
Loading…
Reference in a new issue