Shell optimizations
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user