From 6cdd4651f6aad1f8a3303a0e3691201181314f40 Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Mon, 16 Jun 2025 02:54:02 -0400 Subject: [PATCH] Fix home setup for server iso; force minimal core setup --- iso/dist/server.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/iso/dist/server.nix b/iso/dist/server.nix index ce82e5a..6f6c5cb 100644 --- a/iso/dist/server.nix +++ b/iso/dist/server.nix @@ -36,4 +36,27 @@ in enable = true; keyMap = "us"; }; + + home-manager = lib.mkForce { + extraSpecialArgs = { + inherit pkgs inputs; + inherit (config) secretsSpec hostSpec; + }; + users = { + root.home.stateVersion = "24.05"; # Avoid error + ${username} = { + imports = [ + (import "${inputs.dot-nix}/home/global/core" { + inherit + config + hostSpec + inputs + lib + pkgs + ; + }) + ]; + }; + }; + }; }