Shell optimizations

This commit is contained in:
2026-04-15 23:01:08 -05:00
parent 015f7d7048
commit c4a2ba27e8
2 changed files with 18 additions and 5 deletions

View File

@@ -15,7 +15,6 @@
home.packages = [ home.packages = [
pkgs.librewolf pkgs.librewolf
pkgs.zsh
pkgs.neovim pkgs.neovim
pkgs.nmap pkgs.nmap
pkgs.alacritty pkgs.alacritty
@@ -30,16 +29,29 @@
pkgs.claude-code pkgs.claude-code
]; ];
home.sessionVariables = {
EDITOR = "nvim";
};
home.stateVersion = "25.11"; home.stateVersion = "25.11";
programs.home-manager.enable = true; programs.home-manager.enable = true;
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true;
#autosuggestion
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ "git" "python" "man" ]; plugins = [ "git" "python" "man" "catimg" "copypath" "cp" "fzf"
theme = "agnoster"; "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";
}; };
}; };
} }

View File

@@ -73,7 +73,7 @@
enable = true; enable = true;
ports = [ 22 ]; ports = [ 22 ];
settings = { settings = {
PasswordAuthentication = true; PasswordAuthentication = false;
KbdInteractiveAuthentication = false; KbdInteractiveAuthentication = false;
PermitRootLogin = "no"; PermitRootLogin = "no";
AllowUsers = [ "sonja" ]; AllowUsers = [ "sonja" ];
@@ -132,8 +132,9 @@
gnupg gnupg
pcsc-tools pcsc-tools
pinentry-curses pinentry-curses
ranger
]; ];
programs.noisetorch.enable = true;
# Note: system.autoUpgrade with a channel URL does not apply to flake-managed # Note: system.autoUpgrade with a channel URL does not apply to flake-managed
# systems. Use `nixos-rebuild switch --flake .#coven` to upgrade instead. # systems. Use `nixos-rebuild switch --flake .#coven` to upgrade instead.
system.stateVersion = "25.11"; system.stateVersion = "25.11";