Added zsh
This commit is contained in:
@@ -44,20 +44,36 @@
|
||||
flavor = "mocha";
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
# programs.bash = {
|
||||
# enable = true;
|
||||
# enableCompletion = true;
|
||||
# historyIgnore = [
|
||||
# "ls"
|
||||
# "ls -a"
|
||||
# "ls -l"
|
||||
# "ls -la"
|
||||
# "cd"
|
||||
# "exit"
|
||||
# ];
|
||||
# };
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
bashrcExtra = ''
|
||||
export SSH_AUTH_SOCK=/home/chase/.bitwarden-ssh-agent.sock
|
||||
'';
|
||||
historyIgnore = [
|
||||
"ls"
|
||||
"ls -a"
|
||||
"ls -l"
|
||||
"ls -la"
|
||||
"cd"
|
||||
"exit"
|
||||
];
|
||||
enableBashCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
history = {
|
||||
append = true;
|
||||
extended = true;
|
||||
ignoreDups = true;
|
||||
ignorePatterns = [
|
||||
"ls *"
|
||||
"cd *"
|
||||
"gs"
|
||||
"exit"
|
||||
];
|
||||
};
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
|
||||
programs.bat.enable = true;
|
||||
|
@@ -56,11 +56,11 @@
|
||||
};
|
||||
|
||||
# Configure keymap
|
||||
console.keyMap = "jp106";
|
||||
console.keyMap = lib.mkDefault "jp106";
|
||||
|
||||
services.xserver.xkb = {
|
||||
layout = lib.mkDefault "jp";
|
||||
model = "jp106";
|
||||
model = lib.mkDefault "jp106";
|
||||
};
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
@@ -80,6 +80,17 @@
|
||||
blesh.enable = true;
|
||||
};
|
||||
|
||||
# zsh config
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
enableBashCompletion = true;
|
||||
enableAutosuggestions = true;
|
||||
syntaxHighlighting = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Define a user account
|
||||
users.users.chase = {
|
||||
isNormalUser = true;
|
||||
@@ -95,6 +106,10 @@
|
||||
"video"
|
||||
"wheel"
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFSQX+s8Krl312DcnUtoEWOA2silcUnt5URtyVZz8Yek"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
# Install git and enable cache
|
||||
|
Reference in New Issue
Block a user