added zsh.nix file

This commit is contained in:
Rohan Deshpande
2024-09-12 11:31:24 -04:00
parent 40391bcb0b
commit 6e6054f2bb
3 changed files with 23 additions and 19 deletions

View File

@@ -0,0 +1,16 @@
{config, pkgs, ...}: {
programs.zsh = {
enable = true;
enableSyntaxHighlighting = true;
loginExtra = "sway --unsupported-gpu";
shellAliases = {
"update" = "sudo nixos-rebuild switch --flake /home/rohand/nixos-surface-config#xps";
};
oh-my-zsh = {
enable = true;
plugins = ["git" "vi-mode"];
theme = "afowler";
};
};
}