diff --git a/flake.nix b/flake.nix index 917c18a4..bd8ae0f1 100644 --- a/flake.nix +++ b/flake.nix @@ -213,6 +213,12 @@ "username is set to 'nobody', you may have forgot `--impure` flag!" user) else user; + extraModules = [ + ({ config, ... }: { + # Not sure why this variable is not filling up automatically + home.sessionPath = [ "${config.home.homeDirectory}/.nix-profile/bin" ]; + }) + ]; }).homeConfigurations.devShell; in { diff --git a/home-manager/minimal.nix b/home-manager/minimal.nix index e74a022a..9d69051e 100644 --- a/home-manager/minimal.nix +++ b/home-manager/minimal.nix @@ -1,13 +1,10 @@ -{ config, lib, ... }: +{ lib, ... }: { imports = [ ./default.nix ]; - home = { - # Not sure why this variable is not filling up automatically - sessionPath = [ "${config.home.homeDirectory}/.nix-profile/bin" ]; - stateVersion = "23.11"; - }; + # Need to be set since meta module is disabled in this config + home.stateVersion = "23.11"; # Disable some modules home-manager = {