chore: cleanup configs
This commit is contained in:
parent
12416bc448
commit
b202dc94f7
18 changed files with 493 additions and 332 deletions
|
|
@ -1,31 +1,37 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Define home options directly if this is a standalone home.nix
|
||||
# or within config if it's a module
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
age
|
||||
ansible
|
||||
bat
|
||||
deploy-rs
|
||||
fzf-preview
|
||||
kubectl
|
||||
kubectx
|
||||
kubernetes-helm
|
||||
nerd-fonts.jetbrains-mono
|
||||
nixfmt-rfc-style
|
||||
opentofu
|
||||
sops
|
||||
talosctl
|
||||
teleport
|
||||
zsh-forgit
|
||||
zsh-fzf-history-search
|
||||
zsh-fzf-tab
|
||||
age
|
||||
ansible
|
||||
bat
|
||||
bun
|
||||
cilium-cli
|
||||
cmake
|
||||
ninja
|
||||
rustup
|
||||
deploy-rs
|
||||
fzf-preview
|
||||
kubectl
|
||||
kubectx
|
||||
kubernetes-helm
|
||||
nerd-fonts.jetbrains-mono
|
||||
nil
|
||||
nixd
|
||||
opentofu
|
||||
sops
|
||||
talosctl
|
||||
teleport
|
||||
zsh-forgit
|
||||
zsh-fzf-history-search
|
||||
zsh-fzf-tab
|
||||
rclone
|
||||
];
|
||||
stateVersion = "25.11";
|
||||
};
|
||||
|
||||
#nixpkgs.config.allowUnfree = true; # It's better to put this in configuration.nix or a more specific place if it's only meant for certain hosts.
|
||||
#nixpkgs.config.allowUnfree = true; # It's better to put this in configuration.nix or a more specific place if it's only meant for certain hosts.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,40 +1,43 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
homebrew = {
|
||||
enable = true;
|
||||
enable = true;
|
||||
|
||||
onActivation.autoUpdate = true;
|
||||
onActivation.upgrade = true;
|
||||
#onActivation.cleanup = "zap";
|
||||
onActivation.autoUpdate = true;
|
||||
onActivation.upgrade = true;
|
||||
#onActivation.cleanup = "zap";
|
||||
|
||||
casks = [
|
||||
"arc"
|
||||
"bettermouse"
|
||||
"blender"
|
||||
"citrix-workspace"
|
||||
"cryptomator"
|
||||
"Discord"
|
||||
"Element"
|
||||
"ghostty"
|
||||
"IINA"
|
||||
"Keka"
|
||||
"meta"
|
||||
"mullvad-vpn"
|
||||
"obs"
|
||||
"Obsidian"
|
||||
"orion"
|
||||
"Secretive"
|
||||
"tailscale-app"
|
||||
"telegram"
|
||||
"UTM"
|
||||
"vscodium"
|
||||
];
|
||||
casks = [
|
||||
"arc"
|
||||
"bettermouse"
|
||||
"blender"
|
||||
"citrix-workspace"
|
||||
"cryptomator"
|
||||
"Discord"
|
||||
"Element"
|
||||
"ghostty"
|
||||
"IINA"
|
||||
"Keka"
|
||||
"meta"
|
||||
"mullvad-browser"
|
||||
"mullvad-vpn"
|
||||
"obs"
|
||||
"Obsidian"
|
||||
"orion"
|
||||
"Secretive"
|
||||
"tailscale-app"
|
||||
"telegram"
|
||||
"UTM"
|
||||
"vscodium"
|
||||
"raycast"
|
||||
"zed"
|
||||
];
|
||||
|
||||
masApps = {
|
||||
"Bitwarden" = 1352778147;
|
||||
"DropOver" = 1355679052;
|
||||
"Yubico Authenticator" = 1497506650;
|
||||
};
|
||||
};
|
||||
}
|
||||
masApps = {
|
||||
"Bitwarden" = 1352778147;
|
||||
"DropOver" = 1355679052;
|
||||
"Yubico Authenticator" = 1497506650;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.eza = {
|
||||
enableZshIntegration = true;
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.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;
|
||||
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;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,13 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Den Afanasyev";
|
||||
userEmail = "ceo@furry.industries";
|
||||
settings = {
|
||||
user = {
|
||||
name = "Den Afanasyev";
|
||||
email = "ceo@furry.industries";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
programs.k9s = {
|
||||
skins = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.micro = {
|
||||
|
|
@ -8,4 +8,4 @@
|
|||
};
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.zoxide = {
|
||||
enableZshIntegration = true;
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,53 +1,56 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
prezto = {
|
||||
prompt = { theme = "powerlevel10k"; };
|
||||
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 ''
|
||||
source ~/.p10k.zsh
|
||||
echo "Hey there raccoon! 🦝🍁"
|
||||
'';
|
||||
localVariables = {
|
||||
PURE_GIT_PULL = "0";
|
||||
TELEPORT_ADD_KEYS_TO_AGENT = "no";
|
||||
K9S_SKIN = "transparent";
|
||||
prezto = {
|
||||
prompt = {
|
||||
theme = "powerlevel10k";
|
||||
};
|
||||
enable = true;
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
ls = "eza";
|
||||
cd = "z";
|
||||
cat = "bat";
|
||||
k = "kubectl";
|
||||
m = "micro";
|
||||
h = "helm";
|
||||
tp = "teleport";
|
||||
t = "talosctl";
|
||||
};
|
||||
};
|
||||
}
|
||||
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;
|
||||
};
|
||||
|
||||
localVariables = {
|
||||
PURE_GIT_PULL = "0";
|
||||
TELEPORT_ADD_KEYS_TO_AGENT = "no";
|
||||
K9S_SKIN = "transparent";
|
||||
};
|
||||
|
||||
initContent = lib.mkOrder 500 ''
|
||||
source ~/.p10k.zsh
|
||||
echo "Hey there raccoon! 🦝🍁"
|
||||
'';
|
||||
|
||||
shellAliases = {
|
||||
ls = "eza";
|
||||
cd = "z";
|
||||
cat = "bat";
|
||||
k = "kubectl";
|
||||
m = "micro";
|
||||
h = "helm";
|
||||
tp = "teleport";
|
||||
t = "talosctl";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue