move ispons to tsla
This commit is contained in:
parent
dc457e1519
commit
383316153f
2 changed files with 7 additions and 42 deletions
|
|
@ -61,39 +61,12 @@ in
|
|||
files."config/bluemap/core.conf" = "${modpack}/config/bluemap/core.conf";
|
||||
};
|
||||
};
|
||||
|
||||
users.users.gitlab-runner = {
|
||||
isNormalUser = true;
|
||||
home = "/var/lib/gitlab-runner";
|
||||
createHome = true;
|
||||
shell = pkgs.bashInteractive;
|
||||
extraGroups = [ "docker" "wheel" ];
|
||||
group = "gitlab-runner";
|
||||
};
|
||||
|
||||
users.groups.gitlab-runner = { };
|
||||
users.groups.docker = { };
|
||||
|
||||
systemd.services.enable-linger-gitlab-runner = {
|
||||
description = "Enable linger for gitlab-runner";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.systemd}/bin/loginctl enable-linger gitlab-runner";
|
||||
RemainAfterExit = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.gitlab-runner = {
|
||||
enable = true;
|
||||
services.ci-nspawn-docker = {
|
||||
authenticationTokenConfigFile = "/var/lib/gitlab-runner/token-env";
|
||||
executor = "docker";
|
||||
dockerImage = "alpine:3";
|
||||
dockerPrivileged = true;
|
||||
dockerVolumes = [
|
||||
"/var/lib/gitlab-runner/cache:/cache"
|
||||
];
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.isponsorblocktv = {
|
||||
image = "ghcr.io/dmunozv04/isponsorblocktv:latest";
|
||||
autoStart = true;
|
||||
volumes = [
|
||||
"/home/alisceon/isponsorblocktv:/app/data"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue