NixOS-based container for running GitHub actions
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

try switching to github user

+8 -2
+8 -2
flake.nix
··· 83 83 pkgs.reuse 84 84 pkgs.regctl 85 85 pkgs.stdenv.cc.cc.lib 86 + pkgs.sudo 86 87 pkgs.tailscale 87 88 pkgs.which 88 89 pkgs.xz ··· 109 110 shell = "${pkgs.bashInteractive}/bin/bash"; 110 111 home = "/github/home"; 111 112 gid = 1001; 112 - groups = [ "github" ]; 113 + groups = [ 114 + "github" 115 + "nixbld" 116 + "wheel" 117 + ]; 113 118 description = "Github runner"; 114 119 }; 115 120 nobody = { ··· 271 276 272 277 sudoers = '' 273 278 root ALL=(ALL:ALL) SETENV:ALL 274 - github ALL=(ALL:ALL) NOPASSWD:ALL SETENV:ALL 279 + %wheel ALL=(ALL:ALL) NOPASSWD:ALL SETENV:ALL 275 280 ''; 276 281 277 282 baseSystem = ··· 447 452 config = { 448 453 Cmd = [ "${pkgs.bashInteractive}/bin/bash" ]; 449 454 User = "github"; 455 + WorkingDir = "/github/home"; 450 456 Env = [ 451 457 "USER=github" 452 458 "PATH=${