Compare commits
2 commits
eaa5e6b112
...
3e6b507e6a
Author | SHA1 | Date | |
---|---|---|---|
3e6b507e6a | |||
64d72d811c |
2 changed files with 7 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -10,6 +10,10 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
- name: Debug
|
||||||
|
run: |
|
||||||
|
ls -lah /etc/nix/
|
||||||
|
nix --version
|
||||||
- name: Initialize CI
|
- name: Initialize CI
|
||||||
uses: https://git.qo.is/qo.is/actions-nix-init@main
|
uses: https://git.qo.is/qo.is/actions-nix-init@main
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -91,9 +91,10 @@ with lib;
|
||||||
emptypassword='$6$1ero.LwbisiU.h3D$GGmnmECbPotJoPQ5eoSTD6tTjKnSWZcjHoVTkxFLZP17W9hRi/XkmCiAMOfWruUwy8gMjINrBMNODc7cYEo4K.'
|
emptypassword='$6$1ero.LwbisiU.h3D$GGmnmECbPotJoPQ5eoSTD6tTjKnSWZcjHoVTkxFLZP17W9hRi/XkmCiAMOfWruUwy8gMjINrBMNODc7cYEo4K.'
|
||||||
useradd --prefix $(pwd) -p "$emptypassword" -m -d /tmp -u "$userid" -g "$groupid" -G nixuser nixuser
|
useradd --prefix $(pwd) -p "$emptypassword" -m -d /tmp -u "$userid" -g "$groupid" -G nixuser nixuser
|
||||||
|
|
||||||
cat <<NIX_CONFIG > etc/nix/nix.conf
|
cp -a ${config.environment.etc."nix/nix.conf".source} etc/nix/nix.conf
|
||||||
|
|
||||||
|
cat <<NIX_CONFIG >> etc/nix/nix.conf
|
||||||
accept-flake-config = true
|
accept-flake-config = true
|
||||||
experimental-features = nix-command flakes
|
|
||||||
NIX_CONFIG
|
NIX_CONFIG
|
||||||
|
|
||||||
cat <<NSSWITCH > etc/nsswitch.conf
|
cat <<NSSWITCH > etc/nsswitch.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue