yep, more dotfiles
1{ config 2, lib 3, ... 4}: 5 6let 7 cfg = config.local.fragment.imv; 8in 9{ 10 options.local.fragment.imv.enable = lib.mkEnableOption '' 11 `imv` related 12 ''; 13 14 config = lib.mkIf cfg.enable { 15 programs.imv = { 16 enable = true; 17 settings = { 18 aliases = { 19 echo_current_file = "exec echo $imv_current_file"; 20 }; 21 binds = { 22 # Kinda like Lightroom© quick selection feature 23 b = "echo_current_file"; 24 }; 25 }; 26 }; 27 }; 28}