From 65f8b012879b1fc0b6986fa4e2daa9fd41fe5094 Mon Sep 17 00:00:00 2001 From: mikl Date: Mon, 29 Jun 2026 19:29:39 +0300 Subject: [PATCH] fix: add sessionVariables, PATH with pi-node, fastfetch alias --- home/cli.nix | 1 + home/default.nix | 10 ++++++++++ home/zsh.nix | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/home/cli.nix b/home/cli.nix index bc91d81..4d824d9 100644 --- a/home/cli.nix +++ b/home/cli.nix @@ -10,6 +10,7 @@ tree htop tldr + fastfetch ]; # FZF fuzzy finder diff --git a/home/default.nix b/home/default.nix index 58e9575..737b6cb 100644 --- a/home/default.nix +++ b/home/default.nix @@ -8,4 +8,14 @@ home.stateVersion = "24.11"; programs.git.enable = true; + + home.sessionVariables = { + SEARXNG_URL = "https://search.iscg.dev"; + PATH = "/etc/profiles/per-user/michaotic/bin:$HOME/.nix-profile/bin:$HOME/bin:$HOME/.local/bin:$HOME/.npm-global/bin:/Users/michaotic/.opencode/bin:/Users/michaotic/.local/share/pi-node/node-v22.23.1-darwin-arm64/bin"; + # OPENROUTER_API_KEY = ""; # TODO: move to sops-nix secrets + SOPS_AGE_KEY_FILE = "$HOME/.config/sops/age/keys.txt"; + EDITOR = "micro"; + VISUAL = "micro"; + KUBECONFIG = "$HOME/.kube/config-jul11"; + }; } diff --git a/home/zsh.nix b/home/zsh.nix index 368980e..a2e3fb4 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -43,10 +43,14 @@ shellAliases = { ll = "eza -l --icons --git"; la = "eza -la --icons --git"; + ff = "fastfetch"; }; # Init content - runs on shell start initContent = '' + # Show fastfetch on shell start + fastfetch + # Load pure prompt autoload -U promptinit; promptinit prompt pure