fork/home-manager

git clone https://git.julia.blue/fork/home-manager

midchildani18n: various fixese44faef2

master
374 B15 linesraw
1{ config, lib, pkgs, ... }:
2
3{
4  imports = [
5    ({ ... }: { config.home.sessionPath = [ "foo" ]; })
6    ({ ... }: { config.home.sessionPath = [ "bar" "baz" ]; })
7  ];
8
9  nmt.script = ''
10    hmSessVars=home-path/etc/profile.d/hm-session-vars.sh
11    assertFileExists $hmSessVars
12    assertFileContains $hmSessVars \
13      'export PATH="$PATH''${PATH:+:}bar:baz:foo"'
14  '';
15}