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 = [
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";
};
};
}

View File

@@ -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";