blob: fa880165f247f0ec0b2c484307956976cb7cf470 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ config, ... }:
{
networking.firewall.allowedTCPPorts = [ 1965 ];
virtualisation.oci-containers.containers.locus = {
inherit (config.modules.containers) extraOptions;
image = "ghcr.io/gemrest/locus";
autoStart = true;
ports = [ "1965:1965" ];
volumes = [ "/mnt/docker/locus:/locus/.locus" ];
environment.HEADER_IMAGE = "https://ruu.neocities.org/images/animeHeader.gif";
environmentFiles = [ config.sops.secrets.finnhub_token.path ];
login = {
registry = "ghcr.io";
username = config.sops.secrets."ghcr/user".path;
passwordFile = config.sops.secrets."ghcr/password".path;
};
};
}
|