fix(gitea-actions-runner): add nix to path
This commit is contained in:
@@ -41,17 +41,28 @@ in {
|
|||||||
url = "https://git.deertopia.net/";
|
url = "https://git.deertopia.net/";
|
||||||
tokenFile = token-file;
|
tokenFile = token-file;
|
||||||
labels = [ "nixos:host" ];
|
labels = [ "nixos:host" ];
|
||||||
|
hostPackages = with pkgs; [
|
||||||
|
bash
|
||||||
|
coreutils
|
||||||
|
curl
|
||||||
|
gawk
|
||||||
|
gitMinimal
|
||||||
|
gnused
|
||||||
|
nodejs
|
||||||
|
wget
|
||||||
|
nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Disable dynamic user so runner state persists via bind mount
|
# Disable dynamic user so runner state persists via bind mount
|
||||||
assertions = [{
|
assertions = [{
|
||||||
assertion = config.systemd.services.gitea-actions-runner-sydpc.enable;
|
assertion = config.systemd.services.gitea-actions-runner-sydpc.enable;
|
||||||
message = ''
|
message = ''
|
||||||
Expected systemd service 'gitea-actions-runner-sydpc' is not
|
Expected systemd service 'gitea-actions-runner-sydpc' is not
|
||||||
enabled — the gitea-actions-runner module may have changed
|
enabled — the gitea-actions-runner module may have changed
|
||||||
its naming scheme.
|
its naming scheme.
|
||||||
'';
|
'';
|
||||||
}];
|
}];
|
||||||
systemd.services.gitea-actions-runner-sydpc.serviceConfig.DynamicUser
|
systemd.services.gitea-actions-runner-sydpc.serviceConfig.DynamicUser
|
||||||
= lib.mkForce false;
|
= lib.mkForce false;
|
||||||
users.users.gitea-actions-runner = {
|
users.users.gitea-actions-runner = {
|
||||||
|
|||||||
Reference in New Issue
Block a user