Final touchups
This commit is contained in:
parent
040d7392dc
commit
b896a064f4
|
@ -1,4 +1,6 @@
|
|||
{ lib, ...}: {
|
||||
{ lib, ...}: let
|
||||
ips = import ./modules/ips.nix;
|
||||
in {
|
||||
imports = [
|
||||
# Base configs
|
||||
./base.nix
|
||||
|
@ -7,7 +9,7 @@
|
|||
./users/jimbo.nix
|
||||
./users/groups.nix
|
||||
|
||||
# Desktop only
|
||||
# Desktop
|
||||
./desktop/misc.nix
|
||||
./desktop/sway.nix
|
||||
./desktop/greetd-sway.nix
|
||||
|
@ -17,8 +19,9 @@
|
|||
./desktop/firewall.nix
|
||||
./desktop/fonts.nix
|
||||
./desktop/qt.nix
|
||||
./desktop/wireguard.nix
|
||||
|
||||
# Laptop/Portable only
|
||||
# Laptop/Portable
|
||||
./hardware/wireless.nix
|
||||
|
||||
# Modules
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
# Add extra input rules using nftables
|
||||
extraInputRules = ''
|
||||
ip saddr ${ips.localSpan}.0/24 tcp dport 2049 accept comment "Accept NFS"
|
||||
ip saddr { ${ips.localSpan}.0/24, ${ips.wgSpan}.0/24 } tcp dport 2049 accept comment "Accept NFS"
|
||||
ip saddr { ${ips.pc}, ${outputs.secrets.lunaIP}, ${outputs.secrets.cornIP}, ${outputs.secrets.vertIP} } tcp dport { 1935, 1945 } accept comment "Accept RTMP"
|
||||
ip saddr ${ips.wgSpan}.3 tcp dport ${mailPorts} accept comment "Accept mail"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue