diff --git a/guest/common.nix b/guest/common.nix index 34174de..88423f2 100644 --- a/guest/common.nix +++ b/guest/common.nix @@ -243,6 +243,15 @@ in environment.systemPackages = hermesInstallDeps; + # hermes has createHome = false (its home is the state disk, seeded above, + # not NixOS's usual skeleton) so it never gets a ~/.bashrc to append to. + # Upstream's installer puts the `hermes` launcher in ~/.local/bin and says + # as much ("Could not detect shell config file to add ~/.local/bin to + # PATH"). This option adds it via /etc/set-environment (PAM, every login + # session) instead of relying on a per-user dotfile that will never exist + # here. Same option hl-fwdesk.nix already sets on the physical host. + environment.localBinInPath = true; + programs.direnv = { enable = true; nix-direnv.enable = true;