summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/claude.nix7
1 files changed, 7 insertions, 0 deletions
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