fork/home-manager
git clone https://git.julia.blue/fork/home-manager
e0034971
master
1{ ...} : 2 3{ 4programs . comodoro = { 5enable = true ; 6settings = { 7test-preset = { 8cycles = [ 9{ 10name = "Work" ; 11duration = 1500 ; 12} 13{ 14name = "Rest" ; 15duration = 500 ; 16} 17]; 18 19tcp-host = "localhost" ; 20tcp-port = 8080 ; 21 22on-server-start = "echo server started" ; 23on-timer-stop = "echo timer stopped" ; 24on-work-begin = "echo work cycle began" ; 25}; 26}; 27}; 28 29test . stubs . comodoro = { }; 30 31nmt . script = '' 32assertFileExists home-files/.config/comodoro/config.toml 33assertFileContent home-files/.config/comodoro/config.toml ${ ./expected.toml } 34'' ; 35}