yep, more dotfiles
1{ config 2, lib 3 4, isDarwin 5, ... 6}: 7 8let 9 cfg = config.local.fragment.foot; 10in 11{ 12 options.local.fragment.foot.enable = lib.mkEnableOption '' 13 Foot terminal related 14 ''; 15 16 config = lib.mkIf cfg.enable { 17 assertions = [ 18 { assertion = !isDarwin; message = "this is a non-darwin fragment"; } 19 ]; 20 21 home.sessionVariables.TERMINAL = lib.getExe config.programs.foot.package; 22 23 programs.foot = { 24 enable = true; 25 26 # TODO: promising but too buggy 27 # server.enable = true; 28 29 settings = { 30 main = { 31 font = "monospace:size=10"; 32 }; 33 colors = { 34 background = "000000"; 35 foreground = "ffffff"; 36 }; 37 }; 38 }; 39 }; 40} 41 42