fork/home-manager
git clone https://git.julia.blue/fork/home-manager
835465e8
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7programs . lsd = { 8enable = true ; 9enableAliases = false ; 10settings = { 11date = "relative" ; 12blocks = [ "date" "size" "name" ]; 13layout = "oneline" ; 14sorting . dir-grouping = "first" ; 15ignore-globs = [ ".git" ".hg" ".bsp" ]; 16}; 17colors = { 18date = { 19day-old = "green" ; 20older = "dark_green" ; 21}; 22size = { 23none = "grey" ; 24small = "grey" ; 25medium = "yellow" ; 26large = "dark_yellow" ; 27}; 28}; 29}; 30 31test . stubs . lsd = { }; 32 33nmt . script = '' 34assertFileExists home-files/.config/lsd/config.yaml 35assertFileExists home-files/.config/lsd/colors.yaml 36assertFileContent \ 37home-files/.config/lsd/config.yaml \ 38${ ./example-settings-expected.yaml } 39assertFileContent \ 40home-files/.config/lsd/colors.yaml \ 41${ ./example-colors-expected.yaml } 42'' ; 43}; 44}