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;
|
||||
@@ -6,7 +13,8 @@
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
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";
|
||||
|
||||
@@ -21,64 +29,74 @@
|
||||
hyprcursor.size = 24;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
git
|
||||
curl
|
||||
wget
|
||||
neovim
|
||||
ripgrep
|
||||
fd
|
||||
nushell
|
||||
starship
|
||||
zoxide
|
||||
lazygit
|
||||
fastfetch
|
||||
eza
|
||||
atuin
|
||||
zellij
|
||||
herdr
|
||||
unp
|
||||
carapace
|
||||
bun
|
||||
nodejs
|
||||
pipx
|
||||
python3
|
||||
uv
|
||||
rustup
|
||||
cargo-binstall
|
||||
mise
|
||||
television
|
||||
pay-respects
|
||||
sops
|
||||
age
|
||||
devenv
|
||||
pi-coding-agent
|
||||
yazi
|
||||
unzip
|
||||
obsidian
|
||||
htop
|
||||
btop
|
||||
mpv
|
||||
jellytui
|
||||
] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
||||
owncloud-client
|
||||
wl-clipboard
|
||||
cliphist
|
||||
hyprmod.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
librepods
|
||||
];
|
||||
home.packages =
|
||||
with pkgs;
|
||||
[
|
||||
git
|
||||
curl
|
||||
wget
|
||||
neovim
|
||||
ripgrep
|
||||
fd
|
||||
nushell
|
||||
starship
|
||||
zoxide
|
||||
lazygit
|
||||
fastfetch
|
||||
eza
|
||||
atuin
|
||||
zellij
|
||||
herdr
|
||||
unp
|
||||
carapace
|
||||
bun
|
||||
nodejs
|
||||
pipx
|
||||
python3
|
||||
uv
|
||||
rustup
|
||||
cargo-binstall
|
||||
television
|
||||
pay-respects
|
||||
sops
|
||||
age
|
||||
devenv
|
||||
pi-coding-agent
|
||||
yazi
|
||||
unzip
|
||||
obsidian
|
||||
htop
|
||||
btop
|
||||
mpv
|
||||
jellytui
|
||||
nixd
|
||||
nixfmt
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
||||
owncloud-client
|
||||
wl-clipboard
|
||||
cliphist
|
||||
hyprmod.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
librepods
|
||||
];
|
||||
|
||||
home.file = {
|
||||
".config" = {
|
||||
source = ./config;
|
||||
recursive = true;
|
||||
};
|
||||
".config/yazi".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/yazi";
|
||||
".config/zed".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/zed";
|
||||
".config/btop".source = 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";
|
||||
".config/yazi".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/yazi";
|
||||
".config/zed".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/zed";
|
||||
".config/btop".source =
|
||||
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" = {
|
||||
source = ./local_share;
|
||||
recursive = true;
|
||||
@@ -91,8 +109,10 @@
|
||||
source = ./agents;
|
||||
recursive = true;
|
||||
};
|
||||
".pi/agent/settings.json".source = 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";
|
||||
".pi/agent/settings.json".source =
|
||||
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" ];
|
||||
@@ -112,15 +132,15 @@
|
||||
background-blur = true
|
||||
auto-update = check
|
||||
macos-option-as-alt = left
|
||||
shell-integration = nushell
|
||||
shell-integration-features = ssh-env,ssh-terminfo
|
||||
'' + lib.optionalString pkgs.stdenv.hostPlatform.isLinux ''
|
||||
''
|
||||
+ lib.optionalString pkgs.stdenv.hostPlatform.isLinux ''
|
||||
command = nu
|
||||
'';
|
||||
|
||||
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
|
||||
${pkgs.git}/bin/git clone https://github.com/jokresner/nvim "$HOME/.config/nvim"
|
||||
fi
|
||||
@@ -137,30 +157,30 @@
|
||||
|
||||
plugins = {
|
||||
# --- 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
|
||||
clearUrls.enable = true; # Remove tracking parameters from links
|
||||
memberCount.enable = true; # Show server member count next to the server name
|
||||
showHiddenThings.enable = true; # See hidden channels (read-only)
|
||||
showMeYourName.enable = true; # Show original usernames next to nicknames
|
||||
alwaysAnimate.enable = true; # Always animate channel icons
|
||||
clearUrls.enable = true; # Remove tracking parameters from links
|
||||
memberCount.enable = true; # Show server member count next to the server name
|
||||
showHiddenThings.enable = true; # See hidden channels (read-only)
|
||||
showMeYourName.enable = true; # Show original usernames next to nicknames
|
||||
alwaysAnimate.enable = true; # Always animate channel icons
|
||||
biggerStreamPreview.enable = true; # Bigger stream previews
|
||||
|
||||
|
||||
# --- Media & Embeds ---
|
||||
fixSpotifyEmbeds.enable = true; # Fix broken Spotify embeds
|
||||
fixYoutubeEmbeds.enable = true; # Fix broken YouTube video embeds
|
||||
volumeBooster.enable = true; # Boost user volume past 200%
|
||||
youtubeAdblock.enable = true; # Block ads inside YouTube embeds
|
||||
spotifyControls.enable = true; # Show Spotify controls
|
||||
|
||||
fixSpotifyEmbeds.enable = true; # Fix broken Spotify embeds
|
||||
fixYoutubeEmbeds.enable = true; # Fix broken YouTube video embeds
|
||||
volumeBooster.enable = true; # Boost user volume past 200%
|
||||
youtubeAdblock.enable = true; # Block ads inside YouTube embeds
|
||||
spotifyControls.enable = true; # Show Spotify controls
|
||||
|
||||
# --- 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
|
||||
|
||||
|
||||
# --- Utility & Fun ---
|
||||
fakeNitro.enable = true; # Stream in high quality, use external emojis
|
||||
messageLogger.enable = true; # Keep deleted messages visible in your client locally
|
||||
whoReacted.enable = true; # Show avatars of users who reacted to a message
|
||||
fakeNitro.enable = true; # Stream in high quality, use external emojis
|
||||
messageLogger.enable = true; # Keep deleted messages visible in your client locally
|
||||
whoReacted.enable = true; # Show avatars of users who reacted to a message
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
+28
-28
@@ -1,29 +1,29 @@
|
||||
{
|
||||
"lastChangelogVersion": "0.84.0",
|
||||
"defaultProvider": "antigravity",
|
||||
"defaultModel": "gemini-3.1-pro",
|
||||
"extensions": [
|
||||
"../extensions"
|
||||
],
|
||||
"packages": [
|
||||
"npm:pi-antigravity",
|
||||
"npm:pi-catppuccin-tui",
|
||||
"npm:pi-lens",
|
||||
"npm:pi-web-access",
|
||||
"npm:pi-ask-user",
|
||||
"npm:pi-mcp-adapter",
|
||||
"git:github.com/VandeeFeng/pi-memory-md",
|
||||
"npm:pi-interactive-shell",
|
||||
"npm:@juanibiapina/pi-extension-settings",
|
||||
"npm:@juanibiapina/pi-powerbar",
|
||||
"npm:context-mode",
|
||||
"npm:@ff-labs/pi-fff",
|
||||
"npm:@juicesharp/rpiv-ask-user-question"
|
||||
],
|
||||
"theme": "catppuccin-tui-mocha",
|
||||
"hideThinkingBlock": true,
|
||||
"quietStartup": true,
|
||||
"enableInstallTelemetry": false,
|
||||
"powerline": "full",
|
||||
"defaultThinkingLevel": "high"
|
||||
}
|
||||
"lastChangelogVersion": "0.85.1",
|
||||
"defaultProvider": "9Router",
|
||||
"defaultModel": "cc/claude-sonnet-5",
|
||||
"extensions": [
|
||||
"../extensions"
|
||||
],
|
||||
"packages": [
|
||||
"npm:pi-catppuccin-tui",
|
||||
"npm:pi-lens",
|
||||
"npm:pi-web-access",
|
||||
"npm:pi-ask-user",
|
||||
"npm:pi-mcp-adapter",
|
||||
"git:github.com/VandeeFeng/pi-memory-md",
|
||||
"npm:pi-interactive-shell",
|
||||
"npm:@juanibiapina/pi-extension-settings",
|
||||
"npm:@juanibiapina/pi-powerbar",
|
||||
"npm:context-mode",
|
||||
"npm:@ff-labs/pi-fff",
|
||||
"npm:@juicesharp/rpiv-ask-user-question",
|
||||
"npm:@haoyiyin/9router"
|
||||
],
|
||||
"theme": "catppuccin-tui-mocha",
|
||||
"hideThinkingBlock": true,
|
||||
"quietStartup": true,
|
||||
"enableInstallTelemetry": false,
|
||||
"powerline": "full",
|
||||
"defaultThinkingLevel": "high"
|
||||
}
|
||||
Reference in new issue
Block a user