39 lines
776 B
Nix
39 lines
776 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
|
|
];
|
|
}
|