mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 09:01:16 +00:00
custom agnoster
This commit is contained in:
parent
5a62439f79
commit
2ff3df0247
4 changed files with 193 additions and 1 deletions
|
|
@ -4,6 +4,9 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.file.".oh-my-zsh/custom/themes/agnoster.zsh-theme".source =
|
||||
../config/agnoster.zsh-theme;
|
||||
|
||||
home.activation.removeLegacyZshLinks = lib.hm.dag.entryBefore ["checkLinkTargets"] ''
|
||||
for path in "$HOME/.zshenv" "$HOME/.zshrc"; do
|
||||
if [ -L "$path" ]; then
|
||||
|
|
@ -53,6 +56,7 @@
|
|||
|
||||
envExtra = ''
|
||||
. "$HOME/.cargo/env"
|
||||
export GHOSTTY_RESOURCES_DIR="${pkgs.ghostty-bin}/Applications/Ghostty.app/Contents/Resources/ghostty"
|
||||
'';
|
||||
|
||||
initContent = lib.mkMerge [
|
||||
|
|
@ -63,6 +67,7 @@
|
|||
|
||||
(lib.mkOrder 800 ''
|
||||
export ZSH="${pkgs.oh-my-zsh}/share/oh-my-zsh"
|
||||
export ZSH_CUSTOM="$HOME/.oh-my-zsh/custom"
|
||||
export ZSH_CACHE_DIR="${config.xdg.cacheHome}/oh-my-zsh"
|
||||
ZSH_THEME="agnoster"
|
||||
plugins=(git)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue