This commit is contained in:
joy 2024-10-05 00:31:24 +02:00
parent 9d400eec55
commit bf0acbb9d7
3 changed files with 153 additions and 167 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{pkgs, ...}: {
programs.zsh = {
enable = true;
enableAutosuggestions = true;
@ -24,22 +24,9 @@
history.size = 1000000;
history.path = ".config/zsh/history";
# plugins = [
# {
# name = "zsh-autosuggestions";
# src = pkgs.fetchFromGitHub {
# owner = "zsh-users";
# repo = "zsh-autosuggestions";
# rev = "v0.4.0"; # Version
# sha256 = "sha256-bBqJCkhygrXqAfWBsvUNpXu9IrwLyn/ypmTRKSVP0Xw="; # Fetched hash
# };
# }
# ];
# };
oh-my-zsh = {
enable = true;
plugins = [ "git" "history-substring-search" ];
plugins = ["git" "history-substring-search"];
theme = "simple";
};
};

View file

@ -1,5 +1,4 @@
{pkgs,...}:
{
{pkgs, ...}: {
nix.settings.experimental-features = ["nix-command" "flakes"];
time.timeZone = "Europe/Zurich";
system.stateVersion = "23.11";