Merge branch 'main' of https://git.thomasfmly.org/michael/nix-dots
This commit is contained in:
commit
1e2ed24b4f
@ -13,7 +13,7 @@
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
interfaces."wg0" = {
|
||||
allowedTCPPorts = [7654];
|
||||
allowedTCPPorts = [7654 3030];
|
||||
};
|
||||
};
|
||||
|
||||
@ -85,6 +85,21 @@
|
||||
database.passwordFile = config.age.secrets.keycloakDb.path;
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.backend = "podman";
|
||||
|
||||
virtualisation.oci-containers.containers.traggo = {
|
||||
image = "traggo/server:latest";
|
||||
autoStart = true;
|
||||
ports = ["3030:3030"];
|
||||
volumes = [
|
||||
"/var/lib/traggo/data:/opt/traggo/data"
|
||||
];
|
||||
environment = {
|
||||
TRAGGO_DEFAULT_USER_NAME = "michael";
|
||||
TRAGGO_DEFAULT_USER_PASS = "NfvzH2H5eNJLAJb6";
|
||||
};
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swapfile";
|
||||
|
@ -1,4 +1,6 @@
|
||||
{pkgs, ...}: {
|
||||
virtualisation.containers.enable = true;
|
||||
|
||||
# Enable Podman w/ docker compose compatibility
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user