From c4a2ba27e82f2426313d25d410fa8c2799be70d6 Mon Sep 17 00:00:00 2001 From: wytch Date: Wed, 15 Apr 2026 23:01:08 -0500 Subject: [PATCH] Shell optimizations --- home/sonja/home.nix | 18 +++++++++++++++--- hosts/coven/configuration.nix | 5 +++-- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/home/sonja/home.nix b/home/sonja/home.nix index 8851ff8..ea2dcd6 100644 --- a/home/sonja/home.nix +++ b/home/sonja/home.nix @@ -15,7 +15,6 @@ home.packages = [ pkgs.librewolf - pkgs.zsh pkgs.neovim pkgs.nmap pkgs.alacritty @@ -30,16 +29,29 @@ pkgs.claude-code ]; + home.sessionVariables = { + EDITOR = "nvim"; + }; + home.stateVersion = "25.11"; programs.home-manager.enable = true; programs.zsh = { enable = true; + enableCompletion = true; + #autosuggestion oh-my-zsh = { enable = true; - plugins = [ "git" "python" "man" ]; - theme = "agnoster"; + plugins = [ "git" "python" "man" "catimg" "copypath" "cp" "fzf" + "gpg-agent" "gitignore" "uv" "colorize" "copyfile" "dotenv" "fastfile" + "jsontools" "nmap" "perl" "rsync" "safe-paste" "screen" + "ssh" "sudo" ]; + theme = "fox"; + }; + shellAliases = { + ll = "ls -l"; + update = "sudo nixos-rebuild switch --flake ~/Documents/git/nix-config#coven"; }; }; } diff --git a/hosts/coven/configuration.nix b/hosts/coven/configuration.nix index 0bb8f22..10f0277 100644 --- a/hosts/coven/configuration.nix +++ b/hosts/coven/configuration.nix @@ -73,7 +73,7 @@ enable = true; ports = [ 22 ]; settings = { - PasswordAuthentication = true; + PasswordAuthentication = false; KbdInteractiveAuthentication = false; PermitRootLogin = "no"; AllowUsers = [ "sonja" ]; @@ -132,8 +132,9 @@ gnupg pcsc-tools pinentry-curses + ranger ]; - + programs.noisetorch.enable = true; # Note: system.autoUpgrade with a channel URL does not apply to flake-managed # systems. Use `nixos-rebuild switch --flake .#coven` to upgrade instead. system.stateVersion = "25.11";