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