Tweaking action runner nix base image
This commit is contained in:
parent
1bbed3bfd6
commit
93e4d760ff
1 changed files with 9 additions and 3 deletions
12
flake.nix
12
flake.nix
|
@ -161,17 +161,23 @@
|
||||||
text = ''
|
text = ''
|
||||||
accept-flake-config = true
|
accept-flake-config = true
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
substituters = https://nix.h.lyte.dev https://cache.nixos.org/
|
||||||
|
trusted-substituters = https://nix.h.lyte.dev https://cache.nixos.org/
|
||||||
|
trusted-public-keys = h.lyte.dev:HeVWtne31ZG8iMf+c15VY3/Mky/4ufXlfTpT8+4Xbs0= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
extraCommands = ''
|
extraCommands = ''
|
||||||
# enable /usr/bin/env for scripts
|
# enable /usr/bin/env for scripts
|
||||||
# mkdir -p usr
|
mkdir -p usr
|
||||||
# ln -s ../bin usr/bin
|
ln -s ../bin usr/bin
|
||||||
|
|
||||||
|
# create /tmp
|
||||||
|
mkdir -p tmp
|
||||||
|
|
||||||
# create HOME
|
# create HOME
|
||||||
# mkdir -vp root
|
mkdir -vp root
|
||||||
'';
|
'';
|
||||||
config = {
|
config = {
|
||||||
Cmd = ["/bin/bash"];
|
Cmd = ["/bin/bash"];
|
||||||
|
|
Loading…
Reference in a new issue