2020-06-15 14:00:54 +02:00
|
|
|
{ pkgs, config, lib, ... }:
|
2019-01-09 00:28:02 +01:00
|
|
|
{
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
dotDir = ".config/zsh";
|
|
|
|
enableAutosuggestions = true;
|
|
|
|
enableCompletion = true;
|
|
|
|
history = {
|
|
|
|
expireDuplicatesFirst = true;
|
|
|
|
ignoreDups = true;
|
|
|
|
};
|
2020-04-14 17:28:36 +02:00
|
|
|
shellAliases = {
|
|
|
|
mpvav1 = "mpv --vd-queue-enable=yes --ad-queue-enable=yes --vd-queue-max-bytes=4000MiB --vd-queue-max-samples=2000000 --vd-queue-max-secs=50";
|
|
|
|
};
|
2019-01-09 00:28:02 +01:00
|
|
|
initExtra = ''
|
2020-06-15 14:00:54 +02:00
|
|
|
source ${pkgs.unstable.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
2020-06-15 20:16:59 +02:00
|
|
|
source "$HOME/.config/nixpkgs/nix-dotfiles/config/xsession/zsh/.p10k.zsh"
|
2020-02-28 01:29:19 +01:00
|
|
|
|
2020-06-15 14:00:54 +02:00
|
|
|
ZLE_RPROMPT_INDENT=0
|
2020-02-28 01:29:19 +01:00
|
|
|
|
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
|
|
|
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
home.packages = [
|
2020-06-15 14:00:54 +02:00
|
|
|
# pkgs.nerdfonts
|
2020-06-15 20:16:59 +02:00
|
|
|
pkgs.dan.mesloNFp10k
|
2019-01-09 00:28:02 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
}
|