Hi!
I’m trying to setup services.github-runners. It’s listed in my repository however, if the job starts, I’m getting the following error message:
Caused by:
No space left on device (os error 28)
After doing nixos-container root-login <container name>
and doing df -h /run
I’m getting the following output:
Filesystem Size Used Avail Use% Mounted on
tmpfs 964M 961M 2.7M 100% /run
Does anyone have an idea how to fix that?
This is my full nixos module for that:
{ config, inputs, ... }:
{
age.secrets = {
github-nix-ci = {
file = ../../../../secrets/github-runner/TornaxO7.token.age;
owner = config.containers.vibe-ci.config.services.github-runners.vibe.user;
};
};
containers.vibe-ci = {
autoStart = true;
bindMounts.token = {
hostPath = config.age.secrets.github-nix-ci.path;
isReadOnly = true;
mountPoint = "/mnt/token";
};
config = { pkgs, ... }: {
imports = [
inputs.agenix.nixosModules.default
];
config = rec {
users = {
users = {
main = {
name = "main";
group = "main";
isSystemUser = true;
};
};
groups.main = { };
};
nix = {
package = pkgs.lix;
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
};
services.github-runners.vibe = {
enable = true;
url = "https://github.com/TornaxO7/vibe";
user = users.users.main.name;
tokenFile = config.containers.vibe-ci.bindMounts.token.mountPoint;
};
hardware.graphics.enable = true;
system.stateVersion = "22.11";
time.timeZone = "Europe/Berlin";
};
};
};
}