dotfiles/mbp/home.nix

146 lines
2.5 KiB
Nix
Executable file

{ config, pkgs, lib, ... }:
{
home = {
packages = with pkgs; [
rclone
talosctl
bat
teleport
ansible
kubectl
opentofu
nerd-fonts.jetbrains-mono
age
sops
deploy-rs
kubernetes-helm
fzf-preview
zsh-fzf-tab
zsh-forgit
zsh-fzf-history-search
];
#sessionVariables = {
# SOPS_AGE_KEY_FILE = "/Users/duumxh/.config/sops/age/keys.txt";
#};
stateVersion = "25.11";
};
programs = {
ssh = {
matchBlocks."*" = { identityAgent = "/Users/duumxh/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh"; };
enableDefaultConfig = false;
enable = true;
};
git = {
enable = true;
userName = "Den Afanasyev";
userEmail = "ceo@furry.industries";
};
zsh = {
enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
prezto = {
prompt = {
theme = "pure";
};
enable = true;
};
autosuggestion = {
#highlight = "fg=#ff00ff,bg=cyan,bold,underline";
#strategy = [ "completion" "history" ];
enable = true;
};
plugins = [
{
name = "fzf-tab";
src = "${pkgs.zsh-fzf-tab}/share/fzf-tab";
}
];
history = {
append = true;
expireDuplicatesFirst = true;
};
initContent = lib.mkOrder 500 ''
echo "Hey there raccoon! 🦝🍁"
'';
#localVariables = {};
shellAliases = {
drwn-upd = "sudo darwin-rebuild switch --flake ~/Nix";
ls = "eza";
cd = "z";
cat = "bat";
k = "kubectl";
m = "micro";
h = "helm";
t = "teleport";
tctl = "talosctl";
};
};
fzf = {
colors = {
fg = "-1";
"fg+" = "#d0d0d0";
bg = "-1";
"bg+" = "#262626";
hl = "#5f87af";
"hl+" = "#5fd7ff";
info = "#afaf87";
marker = "#87ff00";
prompt = "#d7005f";
spinner = "#af5fff";
pointer = "#af5fff";
header = "#87afaf";
border = "#262626";
label = "#aeaeae";
query = "#d9d9d9";
};
defaultOptions = [
"--border=rounded"
"--border-label"
"--preview-window=border-rounded"
"--prompt=> "
"--marker=>"
"--pointer="
"--separator="
"--scrollbar="
];
enableZshIntegration = true;
enable = true;
};
eza = {
enableZshIntegration = true;
enable = true;
};
bat = {
enable = true;
};
zoxide = {
enableZshIntegration = true;
enable = true;
};
micro = {
settings = {
colorscheme = "simple";
scrollbar = true;
};
enable = true;
};
home-manager.enable = true;
};
}