2019-01-09 00:28:02 +01:00
|
|
|
{pkgs, config, lib, ...}:
|
|
|
|
{
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
dotDir = ".config/zsh";
|
|
|
|
enableAutosuggestions = true;
|
|
|
|
enableCompletion = true;
|
|
|
|
history = {
|
|
|
|
expireDuplicatesFirst = true;
|
|
|
|
ignoreDups = true;
|
|
|
|
};
|
|
|
|
oh-my-zsh = {
|
|
|
|
enable = true;
|
|
|
|
custom = "\$HOME/.config/nixpkgs/nix-dotfiles/config/xsession/zsh/oh-my-zsh-custom";
|
|
|
|
plugins = [
|
|
|
|
"git"
|
|
|
|
"sudo"
|
|
|
|
];
|
|
|
|
theme = "powerlevel9k/powerlevel9k";
|
|
|
|
};
|
2020-02-26 09:50:29 +01:00
|
|
|
sessionVariables = {
|
|
|
|
POWERLEVEL9K_MODE = "nerdfont-complete";
|
|
|
|
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS = "(os_icon context dir newline vcs)";
|
2020-02-26 09:52:03 +01:00
|
|
|
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS = "(status time)";
|
2020-02-26 09:50:29 +01:00
|
|
|
|
2020-02-26 09:52:03 +01:00
|
|
|
POWERLEVEL9K_OS_ICON_BACKGROUND = "white";
|
|
|
|
POWERLEVEL9K_OS_ICON_FOREGROUND = "blue";
|
|
|
|
POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND = "green";
|
|
|
|
POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND = "white";
|
|
|
|
POWERLEVEL9K_CONTEXT_SUDO_BACKGROUND = "red";
|
|
|
|
POWERLEVEL9K_CONTEXT_SUDO_FOREGROUND = "white";
|
|
|
|
POWERLEVEL9K_DIR_HOME_FOREGROUND = "white";
|
|
|
|
POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND = "white";
|
|
|
|
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND = "white";
|
2020-02-26 09:50:29 +01:00
|
|
|
|
2020-02-26 09:52:03 +01:00
|
|
|
POWERLEVEL9K_SHORTEN_DIR_LENGTH = 2;
|
|
|
|
POWERLEVEL9K_SHORTEN_DELIMITER = "..";
|
2020-02-26 09:50:29 +01:00
|
|
|
|
2020-02-26 09:52:03 +01:00
|
|
|
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX = "↱";
|
2020-02-26 09:53:36 +01:00
|
|
|
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX = "↳";
|
2020-02-26 09:50:29 +01:00
|
|
|
}
|
2019-01-09 00:28:02 +01:00
|
|
|
initExtra = ''
|
2020-02-26 09:50:29 +01:00
|
|
|
export MATRIXDEV_HOMESERVER="https://matrix.dodsorf.as"
|
|
|
|
export ***REMOVED***
|
2019-01-09 00:28:02 +01:00
|
|
|
|
2020-02-26 09:50:29 +01:00
|
|
|
export FV_KUBECONFIG="$HOME/.kube/config-fv"
|
|
|
|
export FV_KUBECONFIG="$HOME/.kube/config-fv-prod"
|
2019-01-09 00:28:02 +01:00
|
|
|
|
2020-02-26 09:50:29 +01:00
|
|
|
export FV_ARM_SUBSCRIPTION_ID="***REMOVED***"
|
|
|
|
export FV_ARM_CLIENT_ID="***REMOVED***"
|
|
|
|
export FV_ARM_CLIENT_SECRET="***REMOVED***"
|
|
|
|
export FV_ARM_TENANT_ID="***REMOVED***"
|
|
|
|
export FV_ARM_ENVIRONMENT="public"
|
2019-01-09 00:28:02 +01:00
|
|
|
|
2020-02-26 09:50:29 +01:00
|
|
|
eval "$(ntfy shell-integration)"
|
|
|
|
AUTO_NTFY_DONE_IGNORE="vim nano screen tmux man mpv nmtui"
|
2019-01-09 00:28:02 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
home.file.ntfy = {
|
|
|
|
source = ./ntfy.yml;
|
|
|
|
target = ".config/ntfy/ntfy.yml";
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
home.packages = [
|
|
|
|
pkgs.nerdfonts
|
|
|
|
pkgs.ntfy
|
|
|
|
];
|
|
|
|
|
|
|
|
}
|