fork/home-manager
git clone https://git.julia.blue/fork/home-manager
0945875a
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7programs . boxxy . enable = true ; 8programs . boxxy . rules = [{ 9name = "example rule" ; 10target = "~/Arduino" ; 11rewrite = "~/.local/share/boxxy" ; 12mode = "directory" ; 13only = [ "arduino" "Arduino" ]; 14env = { "ENVIRONMENT_THING" = "some value" ; }; 15context = [ "/home/test_user/your_project_repo" ]; 16}]; 17 18test . stubs . boxxy = { }; 19 20nmt . script = '' 21boxxyyaml =home-files/.config/boxxy/boxxy.yaml 22assertFileExists $ boxxyyaml 23assertFileContent $ boxxyyaml ${ ./example-boxxy.yaml } 24'' ; 25}; 26}