From 2331b50f9c0353ab92e1c15795587f4a1d0dd803 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 21 Nov 2026 02:33:55 +0000 Subject: configs/claude: require nix run-firecracker-vm's guests no longer have nix unless they have its nix layer (layers/nix.nix). Claude builds and tries things with it (nix-build, nix-shell), so claude asserts that it's there, as in [ layers/nix.nix configs/claude.nix ], rather than coming up without. With it, the run script requires --store, as before only for the store to persist. hermes doesn't need nix: on its own, its store is read-only. --- configs/claude.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/claude.nix b/configs/claude.nix index 9d12210..d421bd2 100644 --- a/configs/claude.nix +++ b/configs/claude.nix @@ -19,6 +19,13 @@ in fc.home.required = true; + # For Claude to build and try things with (nix-build, nix-shell), see + # the service's path; with it, the run script requires --store. + assertions = [{ + assertion = config.nix.enable; + message = "configs/claude.nix needs nix: put run-firecracker-vm's layers/nix.nix into the layers, before it."; + }]; + users.users.claude = { isNormalUser = true; # Fixed, for the files on the home drive: users get created anew at -- cgit v1.3.1