Files
copnix/modules/home/nu/home-nushell-greeting.ulu.nix
T
2026-08-27 16:45:54 +03:00

16 lines
315 B
Nix

{ ... }:
{
flake.homeModules.home-nushell-greeting =
{ config, lib, ... }:
let
nyi = lib.getExe config.programs.nyi.package;
in
{
programs.nushell.extraConfig = ''
if $nu.is-interactive and ($env.ZELLIJ? | is-empty) {
^${nyi} --frames 60
}
'';
};
}