summaryrefslogtreecommitdiff
path: root/nixos/hosts
diff options
context:
space:
mode:
authorcaley <195605706+cqley@users.noreply.github.com>2026-07-03 17:54:31 +0200
committerGitHub <noreply@github.com>2026-07-03 17:54:31 +0200
commit38bb890a0fde68cadd3f25ca72987d01d84e0dd0 (patch)
tree97da09aa0aa7f4a5e47efca9df980e1956017c55 /nixos/hosts
parent99878ec1c2c12d52d5fca454623f0f70e146a1d2 (diff)
Update configuration.nix
Diffstat (limited to 'nixos/hosts')
-rw-r--r--nixos/hosts/bin/configuration.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/nixos/hosts/bin/configuration.nix b/nixos/hosts/bin/configuration.nix
index 844b989..2042eb0 100644
--- a/nixos/hosts/bin/configuration.nix
+++ b/nixos/hosts/bin/configuration.nix
@@ -29,7 +29,7 @@
networking.firewall = {
enable = true;
- allowedTCPPorts = [ 25565 ];
+ allowedTCPPorts = [ 25565 8090 ];
allowedUDPPorts = [ 51820 ];
trustedInterfaces = [ "wg0" ];
};
@@ -113,6 +113,15 @@
};
};
+ systemd.services.pocketbase = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
+ serviceConfig = {
+ ExecStart = "${pkgs.pocketbase}/bin/pocketbase serve --http=0.0.0.0:8090 --dir=/var/lib/pocketbase --publicDir=/var/lib/pocketbase/pb_public";
+ Restart = "no";
+ };
+ };
+
documentation.enable = false;
documentation.man.enable = false;