From 4abb25ea7d3876899e641a8a16281203bd164d53 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sat, 23 Sep 2023 15:41:49 -0400 Subject: initial config for all 3 systems --- programs/zsh.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 programs/zsh.nix (limited to 'programs/zsh.nix') diff --git a/programs/zsh.nix b/programs/zsh.nix new file mode 100644 index 0000000..8d8fc91 --- /dev/null +++ b/programs/zsh.nix @@ -0,0 +1,23 @@ +{ config, pkgs, ... }: +{ + programs.zsh = { + enable = true; + shellAliases = { + ll = "ls -l"; + unixos = "sudo nixos-rebuild switch --flake /etc/nixos"; + uhome = "home-manager switch --flake /etc/nixos"; + }; + history = { + size = 10000; + path = "${config.xdg.dataHome}/zsh/history"; + ignoreDups = true; + }; + + oh-my-zsh = { + enable = true; + plugins = [ "git" "thefuck" "pass" ]; + theme = "dst"; + }; + syntaxHighlighting.enable = true; + }; +} -- cgit v1.2.1