22 lines
451 B
Nix
Executable File
22 lines
451 B
Nix
Executable File
{
|
|
lib,
|
|
config,
|
|
namespace,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.${namespace}.services."free-games-claimer";
|
|
in
|
|
{
|
|
imports = [
|
|
(lib.${namespace}.mkContainerService {
|
|
inherit config;
|
|
name = "free-games-claimer";
|
|
image = "ghcr.io/vogler/free-games-claimer";
|
|
internalPort = 6080;
|
|
volumes = [ "${cfg.configDir}/free-games-claimer:/fgc/data" ];
|
|
environmentFiles = [ config.sops.templates."fgc.env".path ];
|
|
})
|
|
];
|
|
}
|