add zsh config

This commit is contained in:
MFlossmann 2024-07-03 17:37:04 +02:00
parent a2dc4db6d0
commit e447d52cee
2 changed files with 28 additions and 9 deletions

12
flake.lock generated
View file

@ -158,11 +158,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1719827439, "lastModified": 1719992360,
"narHash": "sha256-tneHOIv1lEavZ0vQ+rgz67LPNCgOZVByYki3OkSshFU=", "narHash": "sha256-SRq0ZRkqagqpMGVf4z9q9CIWRbPYjO7FTqSJyWh7nes=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "59ce796b2563e19821361abbe2067c3bb4143a7d", "rev": "36e2f9da91ce8b63a549a47688ae60d47c50de4b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -338,11 +338,11 @@
"nixvim": "nixvim" "nixvim": "nixvim"
}, },
"locked": { "locked": {
"lastModified": 1719875124, "lastModified": 1720017250,
"narHash": "sha256-o5SL8b6IewGS13I85th24PMOptynidzqzbGh9Pv9Ock=", "narHash": "sha256-HOFJMm+ZHvNCbnr/6iqG5MqEYaJF0RyyNvJJ0xGynSk=",
"owner": "MFlossmann", "owner": "MFlossmann",
"repo": "nixvim_config", "repo": "nixvim_config",
"rev": "51079edbd5240c8342c19a6188e2cfef9076d511", "rev": "af8acafeee54774b9916bb40d6fcca11a5065fbd",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {

View file

@ -1,7 +1,6 @@
{ {
pkgs, pkgs,
config, config,
lib,
inputs, inputs,
... ...
}: { }: {
@ -44,12 +43,32 @@
ripgrep ripgrep
fastfetch fastfetch
wget wget
lsd
]; ];
home.sessionVariables = { home.sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
}; };
programs.neovim.enable = false; programs.zsh = {
programs.neovim.defaultEditor = false; enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
ls = "lsd";
};
history = {
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
};
};
programs.neovim = {
enable = false;
defaultEditor = false;
# package = inputs.nixvim-config.packages.${pkgs.system}.default;
};
} }