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
|
inputs.spicetify-nix.homeManagerModules.spicetify
|
||||||
../../modules/home-manager/spicetify.nix
|
../../modules/home-manager/spicetify.nix
|
||||||
../../modules/home-manager/zed.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 = {
|
users.users.alex = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Alexandre Delcamp--Enache";
|
description = "Alexandre Delcamp--Enache";
|
||||||
|
shell = pkgs.zsh;
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
packages = with pkgs; [
|
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,11 +26,16 @@
|
|||||||
extraPackages = [ pkgs.nixd ];
|
extraPackages = [ pkgs.nixd ];
|
||||||
|
|
||||||
userSettings = {
|
userSettings = {
|
||||||
theme = "Dracula";
|
theme = {
|
||||||
|
mode = "system";
|
||||||
|
"dark" = "Rosé Pine Moon";
|
||||||
|
light = "Rosé Pine Dawn";
|
||||||
|
};
|
||||||
|
hour_format = "hour24";
|
||||||
language_models = {
|
language_models = {
|
||||||
ollama = {
|
ollama = {
|
||||||
api_url = http://localhost:11434";
|
api_url = "http://localhost:11434";
|
||||||
auto_discover = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user