prototype postfix config. disabled until i configure virtual alias map
This commit is contained in:
parent
9bad4ad0e1
commit
d1883c7187
|
@ -7,13 +7,15 @@
|
|||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./fs-configuration.nix
|
||||
./hardware-configuration.nix
|
||||
./net-configuration.nix
|
||||
./services-conf/gitea-configuration.nix
|
||||
./services-conf/jellyfin-configuration.nix
|
||||
./services-conf/matrix-configuration.nix
|
||||
./services-conf/nginx-configuration.nix
|
||||
./services-conf/pleroma-configuration.nix
|
||||
./services-conf/postfix-configuration.nix
|
||||
./services-conf/postgres-configuration.nix
|
||||
./user-configuration.nix
|
||||
];
|
||||
|
@ -24,12 +26,6 @@
|
|||
})
|
||||
];
|
||||
|
||||
# TODO colin: re-enable the firewall
|
||||
# networking.firewall.enable = false;
|
||||
networking.firewall.allowedTCPPorts = [ 25 80 443 ];
|
||||
# DLNA ports: https://jellyfin.org/docs/general/networking/index.html
|
||||
networking.firewall.allowedUDPPorts = [ 1900 7359 ];
|
||||
|
||||
|
||||
# XXX colin: UNMODIFIED DEFAULTS BELOW
|
||||
|
||||
|
|
10
net-configuration.nix
Normal file
10
net-configuration.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
networking.domain = "uninsane.org";
|
||||
|
||||
# networking.firewall.enable = false;
|
||||
networking.firewall.allowedTCPPorts = [ 25 80 443 ];
|
||||
# DLNA ports: https://jellyfin.org/docs/general/networking/index.html
|
||||
networking.firewall.allowedUDPPorts = [ 1900 7359 ];
|
||||
}
|
6
services-conf/postfix-configuration.nix
Normal file
6
services-conf/postfix-configuration.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
#services.postfix.enable = true;
|
||||
services.postfix.hostname = "mx.uninsane.org";
|
||||
}
|
|
@ -28,8 +28,10 @@
|
|||
pkgs.htop
|
||||
pkgs.matrix-synapse
|
||||
pkgs.mix2nix
|
||||
pkgs.netcat
|
||||
pkgs.nmap
|
||||
pkgs.ripgrep
|
||||
pkgs.telnet
|
||||
pkgs.sudo
|
||||
(pkgs.vim_configurable.customize {
|
||||
name = "vim";
|
||||
|
|
Loading…
Reference in New Issue
Block a user