{ lib, pkgs, sources, ... }: let nixfmt = pkgs.callPackage "${sources.nixfmt}/default.nix" { }; comma = pkgs.callPackage ( _: pkgs.rustPlatform.buildRustPackage { pname = "comma"; version = "unstable"; src = sources.comma; cargoLock = { allowBuiltinFetchGit = true; lockFile = "${sources.comma}/Cargo.lock"; }; nativeBuildInputs = [ pkgs.makeBinaryWrapper ]; doInstallCheck = false; postInstall = '' wrapProgram $out/bin/comma \ --prefix PATH : ${ lib.makeBinPath [ pkgs.fzy pkgs.nix-index-unwrapped ] } ln -s $out/bin/comma $out/bin/, ''; } ) { }; in { environment.systemPackages = with pkgs; [ universal-android-debloater emacs-pgtk # better cd zoxide ouch # pipe viewer pv # hex editor bvi #better ls eza atuin # better cat bat # clipboard # yazi serpl diff-so-fancy tig direnv sesh mprocs curlie entr procs sd # mult glow # dua-cli dust iamb kondo # better grep ripgrep # IP stuff dig # simply the best fetch tool out there microfetch fzf element difftastic hexyl yazi gnumake asciinema inetutils tokei starship wget cpufetch watchman # yt-dlp # borked check phase tealdeer hyperfine imagemagick ffmpeg-full # catimg timg nmap fd jq rsync figlet unzip zip ] ++ [ nixfmt comma ]; }