updated server configuration

This commit is contained in:
2026-07-13 05:55:40 +10:00
parent f3c6f13e89
commit 567e2536b1
2 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -12,12 +12,14 @@
../../modules/beszel/enable-agent.nix
../../modules/services/enable-rpcbind.nix
../../modules/services/zfs/enable-service.nix
../../modules/services/zfs/auto-mount-volumes.nix
# ../../modules/services/zfs/auto-mount-volumes.nix
];
networking.hostName = "server"; # Define your hostname.
networking.hostId = "6689f93e";
boot.zfs.extraPools = [ "tank" ];
services.beszel.agent.environment = {
#DOCKER_HOST = "tcp://docker-socket-proxy:2375";
@@ -42,6 +44,9 @@ services.nfs.server = {
'';
};
networking.firewall.allowedTCPPorts = [ 111 2049 ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.