fork/home-manager
git clone https://git.julia.blue/fork/home-manager
3ad22341
master
1{ pkgs , ...} : 2 3{ 4programs . nushell . enable = true ; 5programs . direnv . enable = true ; 6 7test . stubs . nushell = { }; 8 9nmt . script = let 10configFile = if pkgs . stdenv . isDarwin then 11"home-files/Library/Application Support/nushell/config.nu" 12else 13"home-files/.config/nushell/config.nu" ; 14in '' 15assertFileExists " ${ configFile } " 16assertFileRegex " ${ configFile } " \ 17'let direnv = (/nix/store/.*direnv.*/bin/direnv export json | from json)' 18'' ; 19}