mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
Started working on the ZSH config
This commit is contained in:
parent
9b5acd5ae2
commit
bb7ed6ff05
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -56,6 +56,7 @@
|
||||
users.users.alex = {
|
||||
isNormalUser = true;
|
||||
description = "Alexandre Delcamp--Enache";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
packages = with pkgs; [
|
||||
];
|
||||
|
||||
48
modules/home-manager/shell.nix
Normal file
48
modules/home-manager/shell.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@ -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";
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user