a0869759be
GitOrigin-RevId: ac319fd3149b23a3ad8ee24cb2def6e67acf194c
15 lines
374 B
Nix
15 lines
374 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
({ ... }: { config.home.sessionPath = [ "foo" ]; })
|
|
({ ... }: { config.home.sessionPath = [ "bar" "baz" ]; })
|
|
];
|
|
|
|
nmt.script = ''
|
|
hmSessVars=home-path/etc/profile.d/hm-session-vars.sh
|
|
assertFileExists $hmSessVars
|
|
assertFileContains $hmSessVars \
|
|
'export PATH="$PATH''${PATH:+:}bar:baz:foo"'
|
|
'';
|
|
}
|