forked from colonelpanic/dotfiles
Make gitea-runner docker work
This commit is contained in:
parent
6f2f2c54a7
commit
6e0427d4e0
@ -21,6 +21,7 @@ makeEnable config "modules.gitea-runner" false {
|
||||
};
|
||||
hostPackages = with pkgs; [
|
||||
bash
|
||||
direnv
|
||||
coreutils
|
||||
curl
|
||||
gawk
|
||||
@ -29,6 +30,8 @@ makeEnable config "modules.gitea-runner" false {
|
||||
gitFull
|
||||
gnused
|
||||
nodejs
|
||||
docker
|
||||
openssh
|
||||
wget
|
||||
];
|
||||
enable = true;
|
||||
@ -46,4 +49,8 @@ makeEnable config "modules.gitea-runner" false {
|
||||
XDG_CONFIG_HOME = gitea-runner-directory;
|
||||
XDG_CACHE_HOME = "${gitea-runner-directory}/.cache";
|
||||
};
|
||||
users.users.gitea-runner = {
|
||||
extraGroups = ["docker"];
|
||||
home = "/var/lib/gitea-runner";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user