fork/home-manager
git clone https://git.julia.blue/fork/home-manager
e7be7c46
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7programs = { 8zsh . enable = true ; 9 10pls = { 11enable = true ; 12enableAliases = true ; 13package = config . lib . test . mkStubPackage { outPath = "@pls@" ; }; 14}; 15}; 16 17test . stubs = { 18pls = { }; 19zsh = { }; 20}; 21 22nmt . script = '' 23assertFileExists home-files/.zshrc 24assertFileContains \ 25home-files/.zshrc \ 26"alias ls='@pls@/bin/pls'" 27assertFileContains \ 28home-files/.zshrc \ 29"alias ll='@pls@/bin/pls -d perms -d user -d group -d size -d mtime -d git'" 30'' ; 31}; 32}