From 7a482d842506ed66bc61c2e9ed53a43e3a70c726 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Tue, 2 Jan 2024 15:28:04 +0300 Subject: [PATCH] Run fastfetch on servers --- modules/nushell/environment.nix.nu | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/nushell/environment.nix.nu b/modules/nushell/environment.nix.nu index 904a98a..8b4b375 100644 --- a/modules/nushell/environment.nix.nu +++ b/modules/nushell/environment.nix.nu @@ -1,8 +1,10 @@ -{ lib, ulib, upkgs, theme, ... }: '' -${lib.optionalString ulib.isDesktop '' +{ ulib, upkgs, theme, ... }: '' +${if ulib.isDesktop then '' if (tty) == /dev/tty1 { (Hyprland) } +'' else '' + fastfetch ''} $env.PROMPT_INDICATOR = "";