{ config, lib, pkgs, ... }: let scripts = lib.pipe ./scripts [ builtins.readDir (lib.mapAttrsToList ( name: type: { name = "bin/${lib.removeSuffix ".nu" name}"; path = ./scripts + "/${name}"; } )) (pkgs.linkFarm "dev-tools-scripts") ]; in { config = lib.mkIf config.dev.enable { home.packages = [ pkgs.sd pkgs.fd pkgs.uutils-coreutils-noprefix pkgs.libnotify pkgs.prr # code review scripts ]; xdg.configFile."prr/config.toml".text = '' [prr] workdir = "${config.home.homeDirectory}" activate_pr_metadata_experiment = true ''; programs = { zoxide.enable = true; carapace.enable = true; ripgrep.enable = true; bat.enable = true; less = { enable = true; config = '' #env LESS = -S -R -i ''; }; }; }; imports = [ ./albedo.nix ./direnv.nix ./gallant.nix ./tuicr.nix ./vale.nix ]; }