From 71ec638573f13f6cbadd3d6e1e4d49d31fda92eb Mon Sep 17 00:00:00 2001 From: William Date: Sun, 15 Feb 2026 20:05:34 -0300 Subject: [PATCH] fix ssh motd; add nvd and nom --- aspects/base/nix.nix | 7 ++++++- aspects/base/ssh.nix | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/aspects/base/nix.nix b/aspects/base/nix.nix index 8d44d54..2442024 100644 --- a/aspects/base/nix.nix +++ b/aspects/base/nix.nix @@ -1,7 +1,7 @@ { ... }: { flake.modules.nixos.nix = - { inputs, ... }: + { inputs, pkgs, ... }: { imports = [ inputs.nixos-cli.nixosModules.nixos-cli ]; @@ -41,6 +41,11 @@ }; }; + environment.systemPackages = with pkgs; [ + nix-output-monitor + nvd + ]; + system.stateVersion = "22.11"; }; } diff --git a/aspects/base/ssh.nix b/aspects/base/ssh.nix index 03fa556..6569bf0 100644 --- a/aspects/base/ssh.nix +++ b/aspects/base/ssh.nix @@ -13,7 +13,7 @@ }; programs = { bash.interactiveShellInit = '' - if { [ -n "$SSH_CONNECTION" ] && [ -z "$IN_NIX_SHELL" ]; } || [ -z "$TMUX" ]; then + if [ -n "$SSH_CONNECTION" ] && [ -z "$IN_NIX_SHELL" ] && [ -z "$TMUX" ]; then export TERM=xterm-256color clear fastfetch @@ -21,7 +21,7 @@ ''; fish.interactiveShellInit = '' set fish_greeting - if set -q SSH_CONNECTION; and not set -q IN_NIX_SHELL; or not set -q TMUX + if set -q SSH_CONNECTION; and not set -q IN_NIX_SHELL; and not set -q TMUX export TERM=xterm-256color clear fastfetch