2022-07-05 22:36:51 +02:00
|
|
|
{pkgs, lib, ...}:
|
2021-10-09 01:46:55 +02:00
|
|
|
{
|
2022-07-05 22:36:51 +02:00
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
|
|
"ookla-speedtest"
|
|
|
|
];
|
2021-10-09 01:46:55 +02:00
|
|
|
home.packages = with pkgs; [
|
2021-10-23 17:50:36 +02:00
|
|
|
(python3.withPackages(ps: with ps; [
|
2022-06-06 23:10:57 +02:00
|
|
|
# ansible
|
2021-10-23 17:50:36 +02:00
|
|
|
dnspython
|
2021-10-28 21:05:21 +02:00
|
|
|
youtube-dl
|
2021-11-13 22:06:43 +01:00
|
|
|
boto3 # aws-s3 support for ansible
|
2022-04-08 20:01:06 +02:00
|
|
|
kubernetes # is in ansible kubernetes.core module
|
2021-11-19 20:41:07 +01:00
|
|
|
# dict_utils for an ansible filter_plugin
|
|
|
|
setuptools
|
|
|
|
deepmerge
|
|
|
|
pip
|
2021-12-02 23:32:00 +01:00
|
|
|
passlib # bcrypt
|
2021-10-23 17:50:36 +02:00
|
|
|
]))
|
2022-06-06 23:10:57 +02:00
|
|
|
ansible
|
2021-10-09 01:46:55 +02:00
|
|
|
killall
|
2022-04-08 20:24:26 +02:00
|
|
|
tree
|
2021-10-09 01:46:55 +02:00
|
|
|
htop
|
|
|
|
mosh
|
|
|
|
git
|
2021-11-13 22:06:43 +01:00
|
|
|
pre-commit
|
2021-10-09 01:46:55 +02:00
|
|
|
git-lfs
|
2022-04-08 20:01:35 +02:00
|
|
|
git-crypt
|
|
|
|
git-annex
|
2022-02-23 22:22:10 +01:00
|
|
|
ghorg
|
2021-10-09 01:46:55 +02:00
|
|
|
tig
|
|
|
|
tea
|
|
|
|
glab
|
|
|
|
figlet
|
|
|
|
tmux
|
2021-10-11 11:37:10 +02:00
|
|
|
w3m
|
2022-04-08 20:11:10 +02:00
|
|
|
wget
|
2021-10-09 01:46:55 +02:00
|
|
|
xh
|
2021-11-19 20:48:32 +01:00
|
|
|
minio-client
|
2021-10-09 01:46:55 +02:00
|
|
|
liboping # fix it
|
|
|
|
mtr
|
2022-07-05 22:36:51 +02:00
|
|
|
ookla-speedtest
|
2021-10-09 01:46:55 +02:00
|
|
|
colordiff
|
|
|
|
direnv
|
2022-07-08 09:48:56 +02:00
|
|
|
# nice prompt together with grml
|
2022-07-08 09:57:22 +02:00
|
|
|
pure-prompt
|
2021-10-09 01:46:55 +02:00
|
|
|
#vimPlugins.nvim-lspconfig
|
|
|
|
#vimPlugins.nerdtree
|
|
|
|
go gcc libcap
|
2022-07-05 22:37:17 +02:00
|
|
|
gopls
|
|
|
|
cargo
|
2021-10-15 01:44:37 +02:00
|
|
|
yarn
|
2022-07-23 15:00:17 +02:00
|
|
|
cmake
|
2021-10-14 16:30:31 +02:00
|
|
|
pwgen
|
2021-10-23 20:36:04 +02:00
|
|
|
gotify-cli
|
2021-10-09 01:46:55 +02:00
|
|
|
glow
|
2021-11-13 22:06:43 +01:00
|
|
|
imagemagick
|
2021-10-23 17:50:04 +02:00
|
|
|
ffmpeg
|
2021-10-10 21:23:53 +02:00
|
|
|
# devOps
|
2021-11-19 20:48:32 +01:00
|
|
|
terraform
|
|
|
|
tflint
|
2022-04-08 20:11:24 +02:00
|
|
|
kubectl
|
2022-06-06 23:10:57 +02:00
|
|
|
kubernetes-helm
|
|
|
|
helmfile
|
2022-04-08 20:01:06 +02:00
|
|
|
k9s
|
2022-07-05 22:37:17 +02:00
|
|
|
# nixopsUnstable
|
2021-10-09 01:46:55 +02:00
|
|
|
];
|
|
|
|
|
2022-07-23 08:50:22 +02:00
|
|
|
programs.password-store = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.pass-wayland.withExtensions (exts: [
|
|
|
|
exts.pass-otp
|
|
|
|
]);
|
|
|
|
settings = {
|
|
|
|
PASSWORD_STORE_DIR = "$HOME/.password-store";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-10-09 01:46:55 +02:00
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
2022-07-08 09:48:56 +02:00
|
|
|
|
2022-07-08 09:57:22 +02:00
|
|
|
enableAutosuggestions = true;
|
|
|
|
enableSyntaxHighlighting = true;
|
2023-01-13 21:55:37 +01:00
|
|
|
# initExtra = ''
|
|
|
|
# source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
|
|
|
|
# prompt pure
|
|
|
|
# '';
|
|
|
|
};
|
|
|
|
programs.starship = {
|
|
|
|
enable = true;
|
|
|
|
# enableNushellIntegration = true;
|
|
|
|
settings = {
|
|
|
|
directory ={
|
|
|
|
truncation_length = 0;
|
|
|
|
};
|
|
|
|
helm = {
|
|
|
|
disabled = true;
|
|
|
|
};
|
|
|
|
kubernetes = {
|
|
|
|
disabled = false;
|
|
|
|
format = "[$symbol$cluster( \($namespace\))]($style) in ";
|
|
|
|
detect_extensions = [
|
|
|
|
"package" # helm
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2022-07-05 22:36:31 +02:00
|
|
|
};
|
2021-11-13 22:06:43 +01:00
|
|
|
programs.direnv.enable = true;
|
2022-06-06 23:10:57 +02:00
|
|
|
programs.gitui.enable = true;
|
2021-10-09 01:46:55 +02:00
|
|
|
|
|
|
|
programs.neovim = {
|
2023-01-13 22:05:55 +01:00
|
|
|
enable = false;
|
2021-10-09 01:46:55 +02:00
|
|
|
extraConfig = ''
|
|
|
|
syntax on
|
|
|
|
set number relativenumber
|
|
|
|
'';
|
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
|
|
nvim-lspconfig
|
|
|
|
airline
|
|
|
|
Syntastic
|
|
|
|
{
|
|
|
|
plugin = nerdtree;
|
|
|
|
config = "map <C-n> :NERDTreeToggle<CR>";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-01-13 22:05:55 +01:00
|
|
|
|
|
|
|
programs.helix = {
|
|
|
|
enable = true;
|
|
|
|
languages = [];
|
|
|
|
settings = {
|
|
|
|
theme = "base16_default";
|
|
|
|
editor = {
|
|
|
|
lsp.display-messages = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2021-10-09 01:46:55 +02:00
|
|
|
}
|