fork/home-manager
git clone https://git.julia.blue/fork/home-manager
bd87a34b
master
1{ config , pkgs , ...} : 2 3{ 4programs . sioyek = { 5enable = true ; 6bindings = { 7"move_down" = "j" ; 8"move_left" = "h" ; 9"move_right" = "l" ; 10"move_up" = "k" ; 11"screen_down" = [ "d" "<C-d>" ]; 12"screen_up" = [ "u" "<C-u>" ]; 13}; 14config = { 15"dark_mode_background_color" = "0.0 0.0 0.0" ; 16"dark_mode_contrast" = "0.8" ; 17}; 18}; 19 20test . stubs . sioyek = { }; 21 22nmt = { 23description = "Sioyek basic setup with sample configuration" ; 24script = '' 25assertFileExists home-files/.config/sioyek/prefs_user.config 26assertFileContent home-files/.config/sioyek/prefs_user.config ${ 27./test_prefs_user.config 28} 29 30assertFileExists home-files/.config/sioyek/keys_user.config 31assertFileContent home-files/.config/sioyek/keys_user.config ${ 32./test_keys_user.config 33} 34'' ; 35}; 36}