mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix(nftables): local firewall
This commit is contained in:
parent
6dc06a746a
commit
a283b4bf9a
9 changed files with 167 additions and 41 deletions
|
|
@ -15,7 +15,6 @@
|
|||
hasIpv4 = any (hasInfix ".") config.systemd.network.networks.eth0.address or [ ];
|
||||
in {
|
||||
services.samba = {
|
||||
openFirewall = mkDefault true;
|
||||
enable = mkDefault true;
|
||||
enableWinbindd = mkDefault false;
|
||||
enableNmbd = mkDefault hasIpv4;
|
||||
|
|
@ -73,7 +72,6 @@ in {
|
|||
|
||||
services.samba-wsdd = mkIf samba.enable {
|
||||
enable = mkDefault true;
|
||||
openFirewall = mkDefault true;
|
||||
hostname = mkDefault config.networking.hostName;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue