switch to zsh
This commit is contained in:
parent
08a6a08e63
commit
bb9c8a9825
4 changed files with 22 additions and 0 deletions
|
@ -13,6 +13,9 @@
|
|||
# Enable nix flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# Add zsh to link path to enable completion for system packages
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
|
||||
# Disable documentation
|
||||
documentation.nixos.enable = false;
|
||||
|
||||
|
|
|
@ -5,6 +5,12 @@
|
|||
home.username = "twoneis";
|
||||
home.homeDirectory = "/home/twoneis";
|
||||
|
||||
systemd.user.sessionVariables = {
|
||||
EDITOR = "hx";
|
||||
SUDO_EDITOR = "hx";
|
||||
VISUAL = "hx";
|
||||
};
|
||||
|
||||
programs = {
|
||||
home-manager = {
|
||||
enable = true;
|
||||
|
@ -27,6 +33,15 @@
|
|||
enable = true;
|
||||
settings = import ./dotfiles/alacritty/alacritty.nix;
|
||||
};
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
enabelAutosuggestions = true;
|
||||
enableCompletion = true;
|
||||
enableVteIntegration = true;
|
||||
dotDir = ".config/zsh";
|
||||
history.ignoreDups = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
# Enable nix flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# Add zsh to link path to enable completion for system packages
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
|
||||
# Disable documentation
|
||||
documentation.nixos.enable = false;
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
pkgs: with pkgs; [
|
||||
alacritty
|
||||
zsh
|
||||
git
|
||||
gh
|
||||
man-pages
|
||||
|
|
Loading…
Add table
Reference in a new issue