diff --git a/home.nix b/home.nix index 4d4fbe4..a282ee2 100644 --- a/home.nix +++ b/home.nix @@ -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 }; }; }; diff --git a/pi/agent/settings.json b/pi/agent/settings.json index 2b97829..01863a9 100644 --- a/pi/agent/settings.json +++ b/pi/agent/settings.json @@ -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" -} \ No newline at end of file + "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" +}