Files
nixos/hosts/freun.dev/services/default.nix
2025-02-08 15:42:02 +02:00

40 lines
799 B
Nix

{ pkgs, ... }:
{
services.postgresql = {
enable = true;
package = pkgs.postgresql_17;
};
virtualisation.podman = {
enable = true;
autoPrune.enable = true;
dockerCompat = true;
defaultNetwork.settings = {
# Required for container networking to be able to use names.
dns_enabled = true;
};
};
virtualisation.oci-containers.backend = "podman";
networking.firewall.trustedInterfaces = [ "podman1" ];
modules.firewall.interfaces.podman1 = [ "dns" ];
modules.webserver.enable = true;
imports = [
./vaultwarden.nix
./immich.nix
./syncthing.nix
./invidious.nix
./grafana.nix
./gtrackmap.nix
./owncast.nix
./tailscale.nix
./workout-tracker.nix
./gotosocial.nix
./bin.nix
./workout-sync.nix
];
}