From 9fb287e3b6c8dc663947997e068ee7dca8b6de48 Mon Sep 17 00:00:00 2001 From: Nichkara Date: Fri, 27 Feb 2026 10:40:12 +0100 Subject: [PATCH] Stable terminal environment with Home-Manager --- home-manager.nix | 23 ++++++++------------- terminal-environment/config.nix | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 15 deletions(-) diff --git a/home-manager.nix b/home-manager.nix index 285c8af..e1e9d25 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -3,6 +3,14 @@ let in { + + imports = [ + + ./desktop-environment/config.nix + ./terminal-environment/config.nix + ./system-environment/config.nix + ]; + users.users.nichkara = { isNormalUser = true; description = "Nina ChloƩ Kassandra"; @@ -23,22 +31,7 @@ in push = { autoSetupRemote = true; }; - gpg = { - format = "ssh"; - }; - }; - signing = { - signByDefault = true; - key = ""; }; }; }; - - imports = [ - - ./desktop-environment/config.nix - ./terminal-environment/config.nix - ./system-environment/config.nix - ]; - } diff --git a/terminal-environment/config.nix b/terminal-environment/config.nix index 74dbdcd..880a8d2 100644 --- a/terminal-environment/config.nix +++ b/terminal-environment/config.nix @@ -63,4 +63,40 @@ theme = "sonicradish"; }; }; + + home-manager.users.nichkara = { ... }: { + programs.zsh = { + enable = true; + enableCompletion = true; + autocd = true; + + autosuggestion = { + enable = true; + }; + + syntaxHighlighting = { + enable = true; + }; + + history = { + size = 4096; + ignoreSpace = true; + ignorePatterns = [ ]; + saveNoDups = true; + ignoreAllDups = true; + }; + + setOptions = [ + "HIST_IGNORE_ALL_DUPS" + ]; + + shellAliases = { + ll = "ls -lh"; + nix-check = "nixos-rebuild build"; + nix-update = "sudo nixos-rebuild switch"; + sirc = "ssh -t nichkara.eu tmux new-session -A -s weechat weechat"; + }; + }; + }; + }