From bee15fdcea84d4c98d8bc53ae3e27ff15f5cd70b Mon Sep 17 00:00:00 2001 From: amusingimpala75 <69653100+amusingimpala75@users.noreply.github.com> Date: Wed, 1 Apr 2026 13:53:58 -0400 Subject: [PATCH] opencode+spotify+zen: remove modules as not planned to be used --- flake.lock | 80 +------------------------------- flake.nix | 12 ----- justfile | 2 +- modules/flake/zenbrowser.nix | 12 ----- modules/home/cli/default.nix | 1 - modules/home/cli/opencode.nix | 77 ------------------------------ modules/home/default.nix | 1 - modules/home/spotify/default.nix | 35 -------------- 8 files changed, 2 insertions(+), 218 deletions(-) delete mode 100644 modules/flake/zenbrowser.nix delete mode 100644 modules/home/cli/opencode.nix delete mode 100644 modules/home/spotify/default.nix diff --git a/flake.lock b/flake.lock index 758ea12..f89afd4 100644 --- a/flake.lock +++ b/flake.lock @@ -1109,22 +1109,6 @@ "type": "github" } }, - "opencode-ralph": { - "flake": false, - "locked": { - "lastModified": 1767744507, - "narHash": "sha256-HIxrpiyLwPhUarqL8KxFmPHL/Cp4IkNF4eAiz+PGiSg=", - "owner": "rot13maxi", - "repo": "opencode-ralph", - "rev": "d8f58ffc3c0f37349b784dbbcd7dd517da038e35", - "type": "github" - }, - "original": { - "owner": "rot13maxi", - "repo": "opencode-ralph", - "type": "github" - } - }, "pi-extensions": { "flake": false, "locked": { @@ -1192,12 +1176,9 @@ "nixpkgs-stable-nixos": "nixpkgs-stable-nixos", "nixvim": "nixvim", "nur": "nur", - "opencode-ralph": "opencode-ralph", "pi-extensions": "pi-extensions", "sops-nix": "sops-nix", - "spicetify": "spicetify", - "textfox": "textfox", - "zen-browser": "zen-browser" + "textfox": "textfox" } }, "rust-analyzer-src": { @@ -1237,27 +1218,6 @@ "type": "github" } }, - "spicetify": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ], - "systems": "systems_4" - }, - "locked": { - "lastModified": 1771737804, - "narHash": "sha256-7wn9qbzIQQgH8tnq4VwzuWEqEWpekuymlLyhY3vM/j8=", - "owner": "Gerg-L", - "repo": "spicetify-nix", - "rev": "6dd43010ac2458cc56a6ac5250349b9217a7a2ae", - "type": "github" - }, - "original": { - "owner": "Gerg-L", - "repo": "spicetify-nix", - "type": "github" - } - }, "systems": { "locked": { "lastModified": 1681028828, @@ -1303,21 +1263,6 @@ "type": "github" } }, - "systems_4": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "textfox": { "inputs": { "firefox-addons": "firefox-addons", @@ -1401,29 +1346,6 @@ "repo": "treefmt-nix", "type": "github" } - }, - "zen-browser": { - "inputs": { - "home-manager": [ - "home-manager" - ], - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1774848370, - "narHash": "sha256-Esm+aiabP563BcUFfFUCIOlFaTxKUXPp6jw0LMAV7ik=", - "owner": "0xc000022070", - "repo": "zen-browser-flake", - "rev": "712c476500e96df74276be99bb3fa9631f494f3a", - "type": "github" - }, - "original": { - "owner": "0xc000022070", - "repo": "zen-browser-flake", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 6c6ab9c..98d8ae7 100644 --- a/flake.nix +++ b/flake.nix @@ -33,21 +33,12 @@ textfox.url = "github:adriankarlen/textfox"; textfox.inputs.nixpkgs.follows = "nixpkgs"; - spicetify.url = "github:Gerg-L/spicetify-nix"; - spicetify.inputs.nixpkgs.follows = "nixpkgs"; - bible.url = "github:amusingimpala75/bible.sh"; bible.inputs.nixpkgs.follows = "nixpkgs"; nix-wallpaper.url = "github:lunik1/nix-wallpaper"; nix-wallpaper.inputs.nixpkgs.follows = "nixpkgs"; - zen-browser = { - url = "github:0xc000022070/zen-browser-flake"; - inputs.nixpkgs.follows = "nixpkgs"; - inputs.home-manager.follows = "home-manager"; - }; - nixvim.url = "github:nix-community/nixvim"; nixvim.inputs.nixpkgs.follows = "nixpkgs"; @@ -57,9 +48,6 @@ sops-nix.url = "github:Mic92/sops-nix"; sops-nix.inputs.nixpkgs.follows = "nixpkgs"; - opencode-ralph.url = "github:rot13maxi/opencode-ralph"; - opencode-ralph.flake = false; - # TODO not necessary after pi in nixpkgs llm-agents.url = "github:numtide/llm-agents.nix"; llm-agents.inputs.nixpkgs.follows = "nixpkgs"; diff --git a/justfile b/justfile index 134dacd..9ae3a2e 100644 --- a/justfile +++ b/justfile @@ -3,7 +3,7 @@ and will indent the later stuff if this isn't here /shrug" update-bleeding: - nix flake update nixpkgs-bleeding zen-browser sops-nix nix-index-database llm-agents pi-extensions + nix flake update nixpkgs-bleeding sops-nix nix-index-database llm-agents pi-extensions update: nix flake update diff --git a/modules/flake/zenbrowser.nix b/modules/flake/zenbrowser.nix deleted file mode 100644 index 4d98eed..0000000 --- a/modules/flake/zenbrowser.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ - inputs, - ... -}: -{ - flake.modules.homeManager.zen = - { ... }: - { - imports = [ inputs.zen-browser.homeModules.beta ]; - programs.zen-browser.enable = true; - }; -} diff --git a/modules/home/cli/default.nix b/modules/home/cli/default.nix index c4a7b7e..300d1f5 100644 --- a/modules/home/cli/default.nix +++ b/modules/home/cli/default.nix @@ -9,7 +9,6 @@ { imports = [ self.modules.homeManager.direnv - ./opencode.nix ./tmux.nix ]; diff --git a/modules/home/cli/opencode.nix b/modules/home/cli/opencode.nix deleted file mode 100644 index 819b401..0000000 --- a/modules/home/cli/opencode.nix +++ /dev/null @@ -1,77 +0,0 @@ -{ - config, - inputs, - lib, - pkgs, - ... -}: -{ - options.my.opencode = { - enable = lib.mkEnableOption "enable opencode"; - }; - - config = lib.mkIf config.my.opencode.enable { - programs.opencode = { - enable = true; - package = pkgs.opencode; - settings = { - model = "github-copilot/grok-code-fast-1"; - autoupdate = false; - theme = "system"; - enabled_providers = [ - "openrouter" - "github-copilot" - ]; - provider.openrouter.options.apiKey = "{file:${config.sops.templates.openrouter_api_key.path}}"; - plugin = [ - "oh-my-opencode@v3.1.6" - ]; - }; - }; - - xdg.configFile = { - "opencode/plugin/ralph.ts".source = "${inputs.opencode-ralph}/plugin/ralph.ts"; - # For some reason commands. = inputs. + "/path" doesn't link it, - # it assumes that is the contents itself. - "opencode/command/cancel-ralph.md".source = "${inputs.opencode-ralph}/command/cancel-ralph.md"; - "opencode/command/ralph-help.md".source = "${inputs.opencode-ralph}/command/ralph-help.md"; - "opencode/command/ralph-loop.md".source = "${inputs.opencode-ralph}/command/ralph-loop.md"; - - "opencode/oh-my-opencode.json".text = builtins.toJSON { - "$schema" = - "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json"; - agents = { - "Sisyphus" = { - model = "github-copilot/claude-opus-4.5"; - }; - "oracle" = { - model = "github-copilot/gpt-5.2"; - }; - "librarian" = { - model = "github-copilot/grok-code-fast-1"; - }; - "explore" = { - model = "github-copilot/gpt-5-mini"; - }; - "multimodal-looker" = { - model = "github-copilot/gemini-3-flash"; - }; - "Prometheus" = { - model = "github-copilot/claude-opus-4.5"; - }; - "Metis" = { - model = "github-copilot/claude-sonnet-4.5"; - }; - "Momus" = { - model = "github-copilot/claude-sonnet-4.5"; - }; - }; - }; - }; - - sops.secrets.openrouter_api_key = { }; - sops.templates.openrouter_api_key.content = "${config.sops.placeholder.openrouter_api_key}"; - - home.sessionVariables.OPENCODE_DISABLE_LSP_DOWNLOAD = "true"; - }; -} diff --git a/modules/home/default.nix b/modules/home/default.nix index 04146f0..f178881 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -25,7 +25,6 @@ in ./nix ./rice ./sops - ./spotify ./vcs ./wezterm ./wsl diff --git a/modules/home/spotify/default.nix b/modules/home/spotify/default.nix deleted file mode 100644 index 2e06df8..0000000 --- a/modules/home/spotify/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - lib, - config, - pkgs, - inputs, - ... -}: -let - cfg = config.my.spotify; -in -{ - imports = [ inputs.spicetify.homeManagerModules.default ]; - - options.my.spotify = { - enable = lib.mkEnableOption "my spotify configuration"; - adblock = lib.mkEnableOption "spotify adblock"; - }; - - config = lib.mkIf cfg.enable { - nixpkgs = { - allowUnfreeList = [ "spotify" ]; - overlays = [ - (final: _: { - spicetify = inputs.spicetify.legacyPackages.${final.stdenv.hostPlatform.system}; - }) - ]; - }; - programs.spicetify = { - enable = true; - enabledExtensions = lib.mkIf cfg.adblock [ pkgs.spicetify.extensions.adblock ]; - theme = pkgs.spicetify.themes.text; - colorScheme = "Gruvbox"; # TODO unhardcode - }; - }; -} -- knotmirror 0.0.1