chore: cleanup
This commit is contained in:
1 parent
f15d5bb6ac
commit
4d1b53eb42
2 files changed
+125
-105
No files matched your search
@@ -1,4 +1,11 @@
|
|||||||
{ config, pkgs, lib, hyprmod, spicetify, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
hyprmod,
|
||||||
|
spicetify,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
nix.package = pkgs.nix;
|
nix.package = pkgs.nix;
|
||||||
@@ -6,7 +13,8 @@
|
|||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
home.username = "johannes";
|
home.username = "johannes";
|
||||||
home.homeDirectory = if pkgs.stdenv.hostPlatform.isDarwin then "/Users/johannes" else "/home/johannes";
|
home.homeDirectory =
|
||||||
|
if pkgs.stdenv.hostPlatform.isDarwin then "/Users/johannes" else "/home/johannes";
|
||||||
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
|
|
||||||
@@ -21,64 +29,74 @@
|
|||||||
hyprcursor.size = 24;
|
hyprcursor.size = 24;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
git
|
with pkgs;
|
||||||
curl
|
[
|
||||||
wget
|
git
|
||||||
neovim
|
curl
|
||||||
ripgrep
|
wget
|
||||||
fd
|
neovim
|
||||||
nushell
|
ripgrep
|
||||||
starship
|
fd
|
||||||
zoxide
|
nushell
|
||||||
lazygit
|
starship
|
||||||
fastfetch
|
zoxide
|
||||||
eza
|
lazygit
|
||||||
atuin
|
fastfetch
|
||||||
zellij
|
eza
|
||||||
herdr
|
atuin
|
||||||
unp
|
zellij
|
||||||
carapace
|
herdr
|
||||||
bun
|
unp
|
||||||
nodejs
|
carapace
|
||||||
pipx
|
bun
|
||||||
python3
|
nodejs
|
||||||
uv
|
pipx
|
||||||
rustup
|
python3
|
||||||
cargo-binstall
|
uv
|
||||||
mise
|
rustup
|
||||||
television
|
cargo-binstall
|
||||||
pay-respects
|
television
|
||||||
sops
|
pay-respects
|
||||||
age
|
sops
|
||||||
devenv
|
age
|
||||||
pi-coding-agent
|
devenv
|
||||||
yazi
|
pi-coding-agent
|
||||||
unzip
|
yazi
|
||||||
obsidian
|
unzip
|
||||||
htop
|
obsidian
|
||||||
btop
|
htop
|
||||||
mpv
|
btop
|
||||||
jellytui
|
mpv
|
||||||
] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
jellytui
|
||||||
owncloud-client
|
nixd
|
||||||
wl-clipboard
|
nixfmt
|
||||||
cliphist
|
]
|
||||||
hyprmod.packages.${pkgs.stdenv.hostPlatform.system}.default
|
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
||||||
librepods
|
owncloud-client
|
||||||
];
|
wl-clipboard
|
||||||
|
cliphist
|
||||||
|
hyprmod.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
|
librepods
|
||||||
|
];
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".config" = {
|
".config" = {
|
||||||
source = ./config;
|
source = ./config;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
".config/yazi".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/yazi";
|
".config/yazi".source =
|
||||||
".config/zed".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/zed";
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/yazi";
|
||||||
".config/btop".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/btop";
|
".config/zed".source =
|
||||||
".config/lazygit".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/lazygit";
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/zed";
|
||||||
".config/hypr".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/hypr";
|
".config/btop".source =
|
||||||
".config/quickshell".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/quickshell";
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/btop";
|
||||||
|
".config/lazygit".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/lazygit";
|
||||||
|
".config/hypr".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/hypr";
|
||||||
|
".config/quickshell".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/quickshell";
|
||||||
".local/share" = {
|
".local/share" = {
|
||||||
source = ./local_share;
|
source = ./local_share;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
@@ -91,8 +109,10 @@
|
|||||||
source = ./agents;
|
source = ./agents;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
".pi/agent/settings.json".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/agent/settings.json";
|
".pi/agent/settings.json".source =
|
||||||
".pi/extensions".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/extensions";
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/agent/settings.json";
|
||||||
|
".pi/extensions".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/extensions";
|
||||||
};
|
};
|
||||||
|
|
||||||
age.identityPaths = [ "${config.home.homeDirectory}/.config/age/keys.txt" ];
|
age.identityPaths = [ "${config.home.homeDirectory}/.config/age/keys.txt" ];
|
||||||
@@ -112,15 +132,15 @@
|
|||||||
background-blur = true
|
background-blur = true
|
||||||
auto-update = check
|
auto-update = check
|
||||||
macos-option-as-alt = left
|
macos-option-as-alt = left
|
||||||
shell-integration = nushell
|
|
||||||
shell-integration-features = ssh-env,ssh-terminfo
|
shell-integration-features = ssh-env,ssh-terminfo
|
||||||
'' + lib.optionalString pkgs.stdenv.hostPlatform.isLinux ''
|
''
|
||||||
|
+ lib.optionalString pkgs.stdenv.hostPlatform.isLinux ''
|
||||||
command = nu
|
command = nu
|
||||||
'';
|
'';
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
home.activation.cloneNvim = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
home.activation.cloneNvim = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
if [ ! -d "$HOME/.config/nvim" ]; then
|
if [ ! -d "$HOME/.config/nvim" ]; then
|
||||||
${pkgs.git}/bin/git clone https://github.com/jokresner/nvim "$HOME/.config/nvim"
|
${pkgs.git}/bin/git clone https://github.com/jokresner/nvim "$HOME/.config/nvim"
|
||||||
fi
|
fi
|
||||||
@@ -137,30 +157,30 @@
|
|||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
# --- UI & Experience ---
|
# --- UI & Experience ---
|
||||||
betterFolders.enable = true; # Better folder icons and controls
|
betterFolders.enable = true; # Better folder icons and controls
|
||||||
betterRoleContext.enable = true; # Show roles in more places
|
betterRoleContext.enable = true; # Show roles in more places
|
||||||
clearUrls.enable = true; # Remove tracking parameters from links
|
clearUrls.enable = true; # Remove tracking parameters from links
|
||||||
memberCount.enable = true; # Show server member count next to the server name
|
memberCount.enable = true; # Show server member count next to the server name
|
||||||
showHiddenThings.enable = true; # See hidden channels (read-only)
|
showHiddenThings.enable = true; # See hidden channels (read-only)
|
||||||
showMeYourName.enable = true; # Show original usernames next to nicknames
|
showMeYourName.enable = true; # Show original usernames next to nicknames
|
||||||
alwaysAnimate.enable = true; # Always animate channel icons
|
alwaysAnimate.enable = true; # Always animate channel icons
|
||||||
biggerStreamPreview.enable = true; # Bigger stream previews
|
biggerStreamPreview.enable = true; # Bigger stream previews
|
||||||
|
|
||||||
# --- Media & Embeds ---
|
# --- Media & Embeds ---
|
||||||
fixSpotifyEmbeds.enable = true; # Fix broken Spotify embeds
|
fixSpotifyEmbeds.enable = true; # Fix broken Spotify embeds
|
||||||
fixYoutubeEmbeds.enable = true; # Fix broken YouTube video embeds
|
fixYoutubeEmbeds.enable = true; # Fix broken YouTube video embeds
|
||||||
volumeBooster.enable = true; # Boost user volume past 200%
|
volumeBooster.enable = true; # Boost user volume past 200%
|
||||||
youtubeAdblock.enable = true; # Block ads inside YouTube embeds
|
youtubeAdblock.enable = true; # Block ads inside YouTube embeds
|
||||||
spotifyControls.enable = true; # Show Spotify controls
|
spotifyControls.enable = true; # Show Spotify controls
|
||||||
|
|
||||||
# --- System & Fixes ---
|
# --- System & Fixes ---
|
||||||
crashHandler.enable = true; # Prevent Discord from completely crashing
|
crashHandler.enable = true; # Prevent Discord from completely crashing
|
||||||
webScreenShareFixes.enable = pkgs.stdenv.hostPlatform.isLinux; # Essential for Wayland screen sharing
|
webScreenShareFixes.enable = pkgs.stdenv.hostPlatform.isLinux; # Essential for Wayland screen sharing
|
||||||
|
|
||||||
# --- Utility & Fun ---
|
# --- Utility & Fun ---
|
||||||
fakeNitro.enable = true; # Stream in high quality, use external emojis
|
fakeNitro.enable = true; # Stream in high quality, use external emojis
|
||||||
messageLogger.enable = true; # Keep deleted messages visible in your client locally
|
messageLogger.enable = true; # Keep deleted messages visible in your client locally
|
||||||
whoReacted.enable = true; # Show avatars of users who reacted to a message
|
whoReacted.enable = true; # Show avatars of users who reacted to a message
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
+28
-28
@@ -1,29 +1,29 @@
|
|||||||
{
|
{
|
||||||
"lastChangelogVersion": "0.84.0",
|
"lastChangelogVersion": "0.85.1",
|
||||||
"defaultProvider": "antigravity",
|
"defaultProvider": "9Router",
|
||||||
"defaultModel": "gemini-3.1-pro",
|
"defaultModel": "cc/claude-sonnet-5",
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"../extensions"
|
"../extensions"
|
||||||
],
|
],
|
||||||
"packages": [
|
"packages": [
|
||||||
"npm:pi-antigravity",
|
"npm:pi-catppuccin-tui",
|
||||||
"npm:pi-catppuccin-tui",
|
"npm:pi-lens",
|
||||||
"npm:pi-lens",
|
"npm:pi-web-access",
|
||||||
"npm:pi-web-access",
|
"npm:pi-ask-user",
|
||||||
"npm:pi-ask-user",
|
"npm:pi-mcp-adapter",
|
||||||
"npm:pi-mcp-adapter",
|
"git:github.com/VandeeFeng/pi-memory-md",
|
||||||
"git:github.com/VandeeFeng/pi-memory-md",
|
"npm:pi-interactive-shell",
|
||||||
"npm:pi-interactive-shell",
|
"npm:@juanibiapina/pi-extension-settings",
|
||||||
"npm:@juanibiapina/pi-extension-settings",
|
"npm:@juanibiapina/pi-powerbar",
|
||||||
"npm:@juanibiapina/pi-powerbar",
|
"npm:context-mode",
|
||||||
"npm:context-mode",
|
"npm:@ff-labs/pi-fff",
|
||||||
"npm:@ff-labs/pi-fff",
|
"npm:@juicesharp/rpiv-ask-user-question",
|
||||||
"npm:@juicesharp/rpiv-ask-user-question"
|
"npm:@haoyiyin/9router"
|
||||||
],
|
],
|
||||||
"theme": "catppuccin-tui-mocha",
|
"theme": "catppuccin-tui-mocha",
|
||||||
"hideThinkingBlock": true,
|
"hideThinkingBlock": true,
|
||||||
"quietStartup": true,
|
"quietStartup": true,
|
||||||
"enableInstallTelemetry": false,
|
"enableInstallTelemetry": false,
|
||||||
"powerline": "full",
|
"powerline": "full",
|
||||||
"defaultThinkingLevel": "high"
|
"defaultThinkingLevel": "high"
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user