feat(arion): migrate gameyfin
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-28 16:59:34 -05:00
parent 875cc683de
commit 860ca121b0
7 changed files with 53 additions and 5 deletions

View file

@ -101,7 +101,10 @@ in {
reverseProxy = "${dockerIP}:5055";
};
games.reverseProxy = "${dockerIP}:8074";
gameyfin = {
subDomainName = "games";
reverseProxy = "${servivi}:8074";
};
wgui.reverseProxy = "${servivi}:51821";

View file

@ -0,0 +1,9 @@
{config, ...}: let
inherit (config.sops) secrets;
inherit (config.arion) rwDataDir;
rwPath = rwDataDir + "/projectName";
in {
arion.projects."projectName" = {
};
}

View file

@ -0,0 +1,8 @@
pkgs:
pkgs.dockerTools.pullImage {
imageName = "some/image/name";
imageDigest = "";
sha256 = "";
finalImageName = "";
finalImageTag = "latest";
}

View file

@ -6,6 +6,7 @@ in {
./forgejo/compose.nix
./freshrss/compose.nix
./gameyfin/compose.nix
./hauk/compose.nix
./homepage/compose.nix
./immich/compose.nix

View file

@ -0,0 +1,19 @@
{config, ...}: let
inherit (config.sops) secrets;
in {
arion.projects."gameyfin"."gameyfin" = {
image = ./images/gameyfin.nix;
restart = "always";
user = "1000:1000";
env_file = [secrets.gameyfin.path];
environment.GAMEYFIN_USER = "mathis";
volumes = [
"/data/games:/opt/gameyfin-library"
];
expose = ["8080"];
ports = ["8074:8080"];
};
}

View file

@ -0,0 +1,8 @@
pkgs:
pkgs.dockerTools.pullImage {
imageName = "grimsi/gameyfin";
imageDigest = "sha256:97842e65252e0854ccced478c10a007ee57e7a35c98c3cb26ecce9d0fd5be41c";
sha256 = "19gbbaqg4n188piyh3lb54rfwz5xpj6f6fkvpqsbls3v9a4ambjw";
finalImageName = "grimsi/gameyfin";
finalImageTag = "latest";
}

View file

@ -1342,11 +1342,11 @@
"sops-nix": "sops-nix"
},
"locked": {
"lastModified": 1709143835,
"narHash": "sha256-75Ww7bpWFdKyYxTiSd2zO8FX6T5FxfAAwuyOf6PgkWs=",
"lastModified": 1709155444,
"narHash": "sha256-bdKOhfSskioOc/p9CkT7POkbP9aauCAFgAPO7JxKJO4=",
"ref": "refs/heads/main",
"rev": "38fcf652c0fb0c441cd0fff092772f547be7c42d",
"revCount": 48,
"rev": "6d61a2cfc9ef021f9ad5cde38ea94659340afe77",
"revCount": 49,
"type": "git",
"url": "ssh://git@git.nelim.org/matt1432/nixos-secrets"
},