25 lines
603 B
Nix
25 lines
603 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
virtualisation.arion.projects.nitter.settings = {
|
|
services = {
|
|
nitter = {
|
|
service = {
|
|
image = "zedeus/nitter:latest";
|
|
container_name = "nitter";
|
|
restart = "unless-stopped";
|
|
ports = [ "127.0.0.1:8001:8080" ];
|
|
environment = {
|
|
"TZ" = "Europe/Berlin";
|
|
};
|
|
volumes = [
|
|
"${config.age.secrets.nitter-config.path}:/src/nitter.conf:ro"
|
|
];
|
|
labels = {
|
|
"com.centurylinklabs.watchtower.enable" = "true";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|