Compare commits
No commits in common. "9ce4b859c790dd446e05b53080121c9637d29a6e" and "857751c095c4cff84d1b97bf133b04a575ab8b31" have entirely different histories.
9ce4b859c7
...
857751c095
8 changed files with 13 additions and 43 deletions
|
@ -66,7 +66,6 @@ in
|
||||||
pavucontrol
|
pavucontrol
|
||||||
playerctl
|
playerctl
|
||||||
jq
|
jq
|
||||||
yq
|
|
||||||
psmisc
|
psmisc
|
||||||
zip
|
zip
|
||||||
nmap
|
nmap
|
||||||
|
@ -77,7 +76,6 @@ in
|
||||||
strace
|
strace
|
||||||
usbutils
|
usbutils
|
||||||
pciutils
|
pciutils
|
||||||
navi
|
|
||||||
|
|
||||||
brightnessctl
|
brightnessctl
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
@ -121,10 +119,7 @@ in
|
||||||
# kubernetes stuff
|
# kubernetes stuff
|
||||||
kubectl
|
kubectl
|
||||||
krew
|
krew
|
||||||
kubernetes-helm
|
kubectx
|
||||||
k9s
|
|
||||||
stern
|
|
||||||
kubecrypt
|
|
||||||
|
|
||||||
] ++ lib.optionals (config.my.isLaptop) [
|
] ++ lib.optionals (config.my.isLaptop) [
|
||||||
networkmanager
|
networkmanager
|
||||||
|
|
|
@ -27,27 +27,20 @@
|
||||||
ripgrep
|
ripgrep
|
||||||
devenv
|
devenv
|
||||||
bat
|
bat
|
||||||
jless
|
|
||||||
jq
|
|
||||||
yq
|
|
||||||
vault
|
|
||||||
google-cloud-sdk
|
|
||||||
navi
|
|
||||||
|
|
||||||
# for zsh-fzf plugin
|
# for zsh-fzf plugin
|
||||||
fzf
|
fzf
|
||||||
|
|
||||||
# denic tooling from overlay
|
# denic tooling from overlay
|
||||||
gohome
|
gohome
|
||||||
kubecrypt
|
|
||||||
|
|
||||||
# kubernetes stuff
|
# kubernetes stuff
|
||||||
kubectl
|
kubectl
|
||||||
krew
|
krew
|
||||||
|
kubectx
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
k9s
|
k9s
|
||||||
stern
|
stern
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.username = "felix";
|
home.username = "felix";
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
sort = "version:refname";
|
sort = "version:refname";
|
||||||
};
|
};
|
||||||
"help" = {
|
"help" = {
|
||||||
autocorrect = "prompt";
|
autocorrect = "promt";
|
||||||
};
|
};
|
||||||
"core" = {
|
"core" = {
|
||||||
pager = "less -F -X";
|
pager = "less -F -X";
|
||||||
|
|
|
@ -28,8 +28,10 @@
|
||||||
# Colorscheme
|
# Colorscheme
|
||||||
papercolor-theme
|
papercolor-theme
|
||||||
|
|
||||||
# Filebrowser
|
# Better support for netrw
|
||||||
nvim-tree-lua
|
vim-vinegar
|
||||||
|
netrw-nvim
|
||||||
|
nvim-web-devicons
|
||||||
|
|
||||||
# Bar at the top for all open buffers
|
# Bar at the top for all open buffers
|
||||||
bufferline-nvim
|
bufferline-nvim
|
||||||
|
@ -155,11 +157,6 @@
|
||||||
let g:go_highlight_operators = 1
|
let g:go_highlight_operators = 1
|
||||||
let g:go_highlight_build_constraints = 1
|
let g:go_highlight_build_constraints = 1
|
||||||
|
|
||||||
" Bug with whitespaces. TODO: Remove this line after nvim 0.11
|
|
||||||
" https://github.com/vim-airline/vim-airline/issues/2704
|
|
||||||
let g:airline#extensions#whitespace#enabled = 0
|
|
||||||
|
|
||||||
|
|
||||||
" Don't use gopls from vim-go
|
" Don't use gopls from vim-go
|
||||||
let g:go_gopls_enabled = 0
|
let g:go_gopls_enabled = 0
|
||||||
|
|
||||||
|
@ -183,12 +180,12 @@
|
||||||
local hooks = require "ibl.hooks"
|
local hooks = require "ibl.hooks"
|
||||||
hooks.register(hooks.type.WHITESPACE, hooks.builtin.hide_first_space_indent_level)
|
hooks.register(hooks.type.WHITESPACE, hooks.builtin.hide_first_space_indent_level)
|
||||||
hooks.register(hooks.type.WHITESPACE, hooks.builtin.hide_first_tab_indent_level)
|
hooks.register(hooks.type.WHITESPACE, hooks.builtin.hide_first_tab_indent_level)
|
||||||
|
require'netrw'.setup{}
|
||||||
require("auto-session").setup {
|
require("auto-session").setup {
|
||||||
auto_save_enabled = true;
|
auto_save_enabled = true;
|
||||||
auto_restore_enabled = true;
|
auto_restore_enabled = true;
|
||||||
}
|
}
|
||||||
require("bufferline").setup{}
|
require("bufferline").setup{}
|
||||||
require("nvim-tree").setup()
|
|
||||||
|
|
||||||
require('lspconfig').gopls.setup{}
|
require('lspconfig').gopls.setup{}
|
||||||
require('lspconfig').pyright.setup{}
|
require('lspconfig').pyright.setup{}
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyMode = "vi";
|
keyMode = "vi";
|
||||||
mouse = true;
|
|
||||||
escapeTime = 0;
|
escapeTime = 0;
|
||||||
plugins = [
|
plugins = [
|
||||||
pkgs.tmuxPlugins.gruvbox
|
pkgs.tmuxPlugins.gruvbox
|
||||||
|
@ -15,6 +14,7 @@
|
||||||
bind -n M-l select-pane -R
|
bind -n M-l select-pane -R
|
||||||
bind -n M-k select-pane -U
|
bind -n M-k select-pane -U
|
||||||
bind -n M-j select-pane -D
|
bind -n M-j select-pane -D
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,26 +7,20 @@
|
||||||
theme = "kolo";
|
theme = "kolo";
|
||||||
};
|
};
|
||||||
history = {
|
history = {
|
||||||
share = false; # every terminal has it's own history durring runtime
|
share = false; # every terminal has it's own history
|
||||||
extended = true;
|
extended = true;
|
||||||
size = 10000;
|
size = 10000;
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
"k" = "kubectl";
|
"k" = "kubectl";
|
||||||
"kx" = "kubectx";
|
"kx" = "kubectx";
|
||||||
"kn" = "kubechn";
|
|
||||||
"kc" = "kubechc";
|
|
||||||
"dl" = "ls -lhtr --color=always ~/Downloads | tail -n 10"; # Show the 10 newest Downloads
|
"dl" = "ls -lhtr --color=always ~/Downloads | tail -n 10"; # Show the 10 newest Downloads
|
||||||
"buzzer" = "ssh -i Nextcloud/Privat/id_door door@door.cccda.de buzzer";
|
"buzzer" = "ssh -i Nextcloud/Privat/id_door door@door.cccda.de buzzer";
|
||||||
"beep" = "paplay /usr/share/sounds/freedesktop/stereo/complete.oga"; # play "ding" for long running jobs
|
"beep" = "paplay /usr/share/sounds/freedesktop/stereo/complete.oga"; # play "ding" for long running jobs
|
||||||
"dig" = "dig +short";
|
"dig" = "dig +short";
|
||||||
"cat" = "bat --theme=TwoDark --style=plain";
|
"cat" = "bat --theme=TwoDark --style=plain";
|
||||||
"watch" = "watch "; # https://unix.stackexchange.com/a/25329
|
|
||||||
"kge" = "kubectl get events --sort-by='.lastTimestamp'";
|
|
||||||
};
|
};
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
setopt APPEND_HISTORY # Append history to global histfile on exit
|
|
||||||
|
|
||||||
autoload -U colors && colors
|
autoload -U colors && colors
|
||||||
|
|
||||||
function is_ssh(){
|
function is_ssh(){
|
||||||
|
@ -34,19 +28,10 @@
|
||||||
echo %{$fg[red]%}SSH-Session on $(hostname -s)%{$reset_color%}
|
echo %{$fg[red]%}SSH-Session on $(hostname -s)%{$reset_color%}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function get_k8s_info(){
|
RPS1='$(is_ssh) $(kubectx_prompt_info)'
|
||||||
kubectl config get-contexts| grep "*" | awk '{print $3"/"$5}'
|
|
||||||
}
|
|
||||||
|
|
||||||
RPS1='$(is_ssh) $(get_k8s_info)'
|
|
||||||
export EDITOR="nvim";
|
export EDITOR="nvim";
|
||||||
export PATH="$PATH:$HOME/.krew/bin:$HOME/bin:$HOME/go/bin";
|
export PATH="$PATH:$HOME/.krew/bin:$HOME/bin:$HOME/go/bin";
|
||||||
source <(kubectl completion zsh)
|
source <(kubectl completion zsh)
|
||||||
source ~/repos/kubech/kubech
|
|
||||||
|
|
||||||
export GOPRIVATE=gitlab.com
|
|
||||||
export GOAUTH=netrc
|
|
||||||
|
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
2
overlay
2
overlay
|
@ -1 +1 @@
|
||||||
Subproject commit 62209bcff29f6d2d1a643870b643d6c9d2577d5f
|
Subproject commit 7fc544758f1004ca7e193acc4a8d0ee784e585a9
|
2
secrets
2
secrets
|
@ -1 +1 @@
|
||||||
Subproject commit b5be7037c16f25899be906029de9dc9cb6f79ff8
|
Subproject commit 0073a1ebe983e942b7a9513ef33ad29c6ac8d6ac
|
Loading…
Add table
Reference in a new issue