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" ]; 14modulesRight = [ "git" ]; 15pathAliases = { "\\~/project/foo" = "prj-foo" ; }; 16settings = { 17ignore-repos = [ "/home/me/project1" "/home/me/project2" ]; 18}; 19}; 20}; 21 22test . stubs = { 23powerline-go = { }; 24zsh = { }; 25}; 26 27nmt . script = '' 28assertFileExists home-files/.zshrc 29assertFileContains \ 30home-files/.zshrc \ 31'eval' 32assertFileContains \ 33home-files/.zshrc \ 34'/bin/powerline-go -error $? -shell zsh -eval -modules nix-shell -modules-right git -newline -path-aliases \~/project/foo=prj-foo -ignore-repos /home/me/project1,/home/me/project2' 35'' ; 36}; 37}