From caa68905e620afb923f9c0597e32eaa660085e76 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 29 Jan 2026 23:44:18 -0600 Subject: [PATCH] Now have a builder image that can actually nix build --- img/builder.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/img/builder.nix b/img/builder.nix index a63c77a..06e03f3 100644 --- a/img/builder.nix +++ b/img/builder.nix @@ -1,5 +1,6 @@ { buildah, + fakeNss, git, lib', nix, @@ -35,6 +36,14 @@ lib'.mkImage { name = name "builder"; contents = lib'.basePackages ++ [ buildah + (fakeNss.override { + extraPasswdLines = [ + "nixbld:x:1001:1001:Build user:/home/nixbld:/noshell" + ]; + extraGroupLines = [ + "nixbld:!:1001:nixbld" + ]; + }) git nix nix-conf