prototype postfix config. disabled until i configure virtual alias map
This commit is contained in:
@@ -7,13 +7,15 @@
|
|||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
|
||||||
./fs-configuration.nix
|
./fs-configuration.nix
|
||||||
|
./hardware-configuration.nix
|
||||||
|
./net-configuration.nix
|
||||||
./services-conf/gitea-configuration.nix
|
./services-conf/gitea-configuration.nix
|
||||||
./services-conf/jellyfin-configuration.nix
|
./services-conf/jellyfin-configuration.nix
|
||||||
./services-conf/matrix-configuration.nix
|
./services-conf/matrix-configuration.nix
|
||||||
./services-conf/nginx-configuration.nix
|
./services-conf/nginx-configuration.nix
|
||||||
./services-conf/pleroma-configuration.nix
|
./services-conf/pleroma-configuration.nix
|
||||||
|
./services-conf/postfix-configuration.nix
|
||||||
./services-conf/postgres-configuration.nix
|
./services-conf/postgres-configuration.nix
|
||||||
./user-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
|
# 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.htop
|
||||||
pkgs.matrix-synapse
|
pkgs.matrix-synapse
|
||||||
pkgs.mix2nix
|
pkgs.mix2nix
|
||||||
|
pkgs.netcat
|
||||||
pkgs.nmap
|
pkgs.nmap
|
||||||
pkgs.ripgrep
|
pkgs.ripgrep
|
||||||
|
pkgs.telnet
|
||||||
pkgs.sudo
|
pkgs.sudo
|
||||||
(pkgs.vim_configurable.customize {
|
(pkgs.vim_configurable.customize {
|
||||||
name = "vim";
|
name = "vim";
|
||||||
|
Reference in New Issue
Block a user