nix machine / user configurations
1{ pkgs, lib, config, ... }: 2{ 3 stylix.targets.tofi.enable = true; 4 programs.tofi = { 5 enable = true; 6 package = pkgs.tofi.overrideAttrs (old: { 7 patches = [(pkgs.fetchpatch2 { 8 url = "https://patch-diff.githubusercontent.com/raw/philj56/tofi/pull/189.patch"; 9 hash = "sha256-qsXRyNE9x1sSDrCq/LTQY/DTEMwYAJB3U0/dPXX/jw4="; 10 })]; 11 }); 12 settings = { 13 outline-width = 0; 14 border-width = 0; 15 width = "48%"; 16 height = "20%"; 17 num-results = 7; 18 font = lib.mkForce "${config.stylix.fonts.serif.package}/share/fonts/truetype/ComicRelief.ttf"; 19 hint-font = false; 20 ascii-input = true; 21 drun-launch = true; 22 }; 23 }; 24}