{ config, lib, pkgs, self', ... }: { config = lib.mkIf config.dev.shell.enable { home.packages = [ pkgs.moreutils ]; # vipe, chronic, pee programs.nushell = { enable = true; shellAliases = { k = "kubectl"; fg = "job unfreeze"; nn = "run-external $env.EDITOR ($env.HOME)/notes"; }; configFile.text = '' $env.config = {show_banner: false} source-env (if ("~/.profile.nu" | path exists) { "~/.profile.nu" } else null) ${lib.getExe self'.packages.pokego} -l french ''; extraLogin = '' bash -c ". /etc/profile && env" | parse "{n}={v}" | where n not-in $env or v != ($env | get $it.n) | where n not-in ["_", "LAST_EXIT_CODE", "DIRS_POSITION"] | transpose --header-row | into record | load-env ''; }; }; }