2020-10-12 00:22:58 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
({ ... }: { config.home.sessionPath = [ "foo" ]; })
|
|
|
|
({ ... }: { config.home.sessionPath = [ "bar" "baz" ]; })
|
|
|
|
];
|
|
|
|
|
|
|
|
nmt.script = ''
|
2021-07-02 22:36:30 +00:00
|
|
|
hmSessVars=home-path/etc/profile.d/hm-session-vars.sh
|
|
|
|
assertFileExists $hmSessVars
|
|
|
|
assertFileContains $hmSessVars \
|
|
|
|
'export PATH="$PATH''${PATH:+:}bar:baz:foo"'
|
2020-10-12 00:22:58 +00:00
|
|
|
'';
|
|
|
|
}
|