This commit is contained in:
iFargle 2023-09-01 17:22:07 +09:00
parent 55f1b35d93
commit bfad276eb5

View file

@ -9,7 +9,7 @@
# https://github.com/justjanne/powerline-go#customization
settings = {
hostname-only-if-ssh = true;
cwd-max-depth = 2;
cwd-max-depth = 1;
condensed = true;
theme = "gruvbox";
};
@ -24,8 +24,6 @@
"git"
"docker"
"exit"
];
modulesRight = [
"root"
];
};
@ -34,11 +32,13 @@
bash = {
enable = true;
enableCompletion = true;
initExtra = ''
GPG_TTY=$(tty)
'';
sessionVariables = {
# Set the GTK Theme
# GTK_THEME = "Gruvbox-Dark-BL";
XDG_DATA_HOME = "$HOME/.local/share";
GPG_TTY="$(tty)";
# Disable askpass for cli auth:
SSH_ASKPASS = "";
};
@ -46,9 +46,11 @@
sops-edit() {
nix-shell -p sops --run "sops $1"
}
sops-update() {
nix-shell -p sops --run "sops updatekeys $1"
}
nix-clean-all() {
sudo nix-channel --update
sudo nix-env -u --always
@ -56,7 +58,6 @@
}
'';
shellAliases = {
# nVidia prime selector alias:
prime-select = "nvidia-offload";