fuzzel.nix
1 { 2 pkgs, 3 config, 4 lib, 5 ... 6 }: let 7 cfg = config.programs.fuzzel; 8 in { 9 options.programs.fuzzel.enable = lib.mkEnableOption "fuzzel"; 10 11 config = lib.mkIf cfg.enable { 12 hm.programs = { 13 fuzzel = { 14 enable = true; 15 settings = lib.mkForce { 16 main = { 17 terminal = "${pkgs.foot}/bin/foot"; 18 layer = "overlay"; 19 lines = 10; 20 width = 20; 21 horizontal-pad = "15"; 22 font = "Liga SFMono Nerd:size=9"; 23 }; 24 colors = { 25 background = "161616ff"; 26 text = "ffffffff"; 27 match = "ff7eb6ff"; 28 selection = "393939ff"; 29 selection-text = "ee5396ff"; 30 selection-match = "82cfffff"; 31 border = "262626ff"; 32 }; 33 }; 34 }; 35 }; 36 }; 37 }