diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 0b2fb8f4e..8b72f5a54 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -198,6 +198,16 @@ in ''; }; + home.sessionVariablesExtra = mkOption { + type = types.lines; + default = ""; + internal = true; + description = '' + Extra configuration to add to the + hm-session-vars.sh file. + ''; + }; + home.packages = mkOption { type = types.listOf types.package; default = []; @@ -352,7 +362,7 @@ in export __HM_SESS_VARS_SOURCED=1 ${config.lib.shell.exportAll cfg.sessionVariables} - ''; + '' + cfg.sessionVariablesExtra; } ) ];