snowflake/hosts/yuki/services/stash.nix
notohh 137a114c16
flake.nix: add hyprsysinfo && use fufexan zen fork
yazi: disable lua conf & fix keymap

tsuki: add hyprsysinfo

hypridle: dpms off on timeout

hosts: enable wastebin

stash: bump version

yuki: disable paperless & hydroxide
2024-10-14 07:42:09 -04:00

24 lines
747 B
Nix

_: let
storagePath = "/home/notoh/docker/stash";
in {
virtualisation.oci-containers.containers.stash = {
image = "stashapp/stash@sha256:b2bfd8ddf706a69ea788e3ca9e6121cb35b9adb8a24c38fa9183cdeb8234c7da"; # v0.27.1
ports = ["9999:9999"];
environment = {
STASH_STASH = "/data/";
STASH_GENERATED = "/generated/";
STASH_METADATA = "/metadata/";
STASH_CACHE = "/cache/";
STASH_PORT = "9999";
};
volumes = [
"/etc/localtime:/etc/localtime:ro"
"${storagePath}/.config:/root/.stash"
"${storagePath}/data:/data"
"${storagePath}/.metadata:/metadata"
"${storagePath}/cache:/cache"
"${storagePath}/generated:/generated"
"${storagePath}/blobs:/blobs"
];
};
}