Started working on the ZSH config

This commit is contained in:
Alexandre1a 2026-01-01 20:06:20 +01:00
parent 9b5acd5ae2
commit bb7ed6ff05
No known key found for this signature in database
GPG Key ID: CE01C28FBC5EEF10
4 changed files with 59 additions and 8 deletions

View File

@ -6,6 +6,7 @@
inputs.spicetify-nix.homeManagerModules.spicetify
../../modules/home-manager/spicetify.nix
../../modules/home-manager/zed.nix
../../modules/home-manager/shell.nix
];
@ -20,10 +21,6 @@
};
};
};
# Zed config
zed-ai = {
enable = true;
};
};

View File

@ -56,6 +56,7 @@
users.users.alex = {
isNormalUser = true;
description = "Alexandre Delcamp--Enache";
shell = pkgs.zsh;
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
];

View File

@ -0,0 +1,48 @@
{ pkgs, ... }:
{
programs.zsh = {
enable = true;
package = pkgs.zsh;
enableCompletions = true;
autocd = true;
loginExtra = "echo Hello World!";
autosuggestion = {
enable = true;
strategy = "match_prev_cmd";
};
dirHashes = {
code = "$\{config.home.homeDirectory}/Developer";
};
history = {
append = true;
extended = true;
ignoreSpace = false;
save = 100000;
size = 100000;
saveNoDups = true;
share = true;
};
oh-my-zsh = {
enable = true;
package = pkgs.oh-my-zsh;
plugins = [
"git"
"react-native"
"golang"
"docker"
#"brew"
"eza"
"fzf"
"gh"
"kitty"
"zsh-autosuggestions"
"zsh-syntax-highlighting"
];
};
};
}

View File

@ -26,13 +26,18 @@
extraPackages = [ pkgs.nixd ];
userSettings = {
theme = "Dracula";
theme = {
mode = "system";
"dark" = "Rosé Pine Moon";
light = "Rosé Pine Dawn";
};
hour_format = "hour24";
language_models = {
ollama = {
api_url = http://localhost:11434";
auto_discover = true;
api_url = "http://localhost:11434";
};
};
};
};
}
}