From d90dafb8077c22724c98416c91eccb8af352023f Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Mon, 11 Nov 2024 22:05:35 -0500 Subject: [PATCH] Infini-DL360/ssh: use server-specific neofetch config --- hosts/Infini-DL360/neofetch.conf | 39 ++++++++++++++++++++++++++++++++ hosts/Infini-DL360/ssh.nix | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 hosts/Infini-DL360/neofetch.conf diff --git a/hosts/Infini-DL360/neofetch.conf b/hosts/Infini-DL360/neofetch.conf new file mode 100644 index 0000000..9f22c75 --- /dev/null +++ b/hosts/Infini-DL360/neofetch.conf @@ -0,0 +1,39 @@ +print_info() { + info title + info underline + + info "$(color 7)OS" distro + info "$(color 15)├─$(color 6) Kernel" kernel + info "$(color 15)├─$(color 6) Uptime" uptime + info "$(color 15)└─$(color 6) Packages" packages + + prin + prin "$(color 7)PC" "@model@" + info "$(color 15)├─$(color 6) CPU" cpu + info "$(color 15)├─$(color 6) GPU" gpu + info "$(color 15)├─$(color 6) Resolution" resolution + info "$(color 15)└─$(color 6) Memory" memory + + prin + prin "$(color 15)Disks" + info disk + + info cols +} + +kernel_shorthand="off" +uptime_shorthand="off" +memory_percent="on" +memory_unit="gib" +separator=" ➜" +color_blocks="off" + +# Disk +disk_show=('/' '/media/main' '/media/data') + +# Image +image_backend="ascii" +#image_source="@image@" +#crop_mode="none" +#image_size="379px" +#gap=1 diff --git a/hosts/Infini-DL360/ssh.nix b/hosts/Infini-DL360/ssh.nix index e9b65d1..ff9cb23 100644 --- a/hosts/Infini-DL360/ssh.nix +++ b/hosts/Infini-DL360/ssh.nix @@ -64,7 +64,7 @@ in PasswordAuthentication no Match user neofetch - ForceCommand ${pkgs.hyfetch}/bin/neowofetch --config ${config.home-manager.users.infinidoge.xdg.configFile."neofetch/config.conf".source} --backend ascii + ForceCommand ${pkgs.hyfetch}/bin/neowofetch --config ${./neofetch.conf} --backend ascii PermitTTY no DisableForwarding yes AuthenticationMethods none