fork/home-manager
git clone https://git.julia.blue/fork/home-manager
f46972e4
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7programs = { 8zsh . enable = true ; 9 10powerline-go = { 11enable = true ; 12newline = true ; 13modules = [ "nix-shell" ]; 14pathAliases = { "\\~/project/foo" = "prj-foo" ; }; 15settings = { 16ignore-repos = [ "/home/me/project1" "/home/me/project2" ]; 17}; 18}; 19}; 20 21test . stubs = { 22powerline-go = { }; 23zsh = { }; 24}; 25 26nmt . script = '' 27assertFileExists home-files/.zshrc 28assertFileContains \ 29home-files/.zshrc \ 30'PS1=' 31assertFileContains \ 32home-files/.zshrc \ 33'/bin/powerline-go -error $? -shell zsh -modules nix-shell -newline -path-aliases \~/project/foo=prj-foo -ignore-repos /home/me/project1,/home/me/project2' 34'' ; 35}; 36}