From 2ea0d0aaa8934295ea246097b10c35242c4f2275 Mon Sep 17 00:00:00 2001 From: sstent Date: Thu, 23 Feb 2023 12:53:49 -0500 Subject: [PATCH] sync --- modules/home-manager/sstent.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/modules/home-manager/sstent.nix b/modules/home-manager/sstent.nix index 9193bf3..508f343 100644 --- a/modules/home-manager/sstent.nix +++ b/modules/home-manager/sstent.nix @@ -62,6 +62,7 @@ programs = { man.enable = true; nix-index.enable = true; yt-dlp.enable = true; + bash = { enable = true; historyControl = ["ignorespace"]; @@ -80,6 +81,26 @@ programs = { ssh-add -l ''; }; + programs.zsh = { + enable = true; + shellAliases = { + ll = "ls -l"; + update = "sudo nixos-rebuild switch"; + }; + history = { + size = 10000; + path = "${config.xdg.dataHome}/zsh/history"; + }; + zplug = { + enable = true; + plugins = [ + { name = "zsh-users/zsh-autosuggestions"; } # Simple plugin installation + { name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; } # Installations with additional options. For the list of options, please refer to Zplug README. + ]; + }; +}; + + git = { enable = true; userName = "sstent";