openrouter will be eaten by claude-code

This commit is contained in:
TheK0tYaRa 2026-03-13 15:34:12 +02:00
parent 575e2db66c
commit fd6ca65cb2
4 changed files with 110 additions and 35 deletions

View file

@ -99,18 +99,17 @@ final: prev: {
}); });
}) })
]; ];
winetricks = prev.winetricks.overrideAttrs ( # winetricks = prev.winetricks.overrideAttrs (
old: # old:
let # let
version = "20260125"; # version = "20260125";
in # in
{ # {
inherit version; # inherit version;
# src = final.fetchurl {
src = final.fetchurl { # url = "https://github.com/Winetricks/winetricks/archive/refs/tags/${version}.tar.gz";
url = "https://github.com/Winetricks/winetricks/archive/refs/tags/${version}.tar.gz"; # hash = "sha256-KJC9n7ut5GOOWLSZmiNycxkt8DtYUWrnuHceCcItL1Y=";
hash = "sha256-KJC9n7ut5GOOWLSZmiNycxkt8DtYUWrnuHceCcItL1Y="; # };
}; # }
} # );
);
} }

110
flake.lock generated
View file

@ -24,7 +24,7 @@
"ragenix", "ragenix",
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_5" "systems": "systems_6"
}, },
"locked": { "locked": {
"lastModified": 1761656077, "lastModified": 1761656077,
@ -40,6 +40,26 @@
"type": "github" "type": "github"
} }
}, },
"claude-code": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1773279046,
"narHash": "sha256-k1S9VEaiRgRrfwolWKV+n3YKpfnQCoE+3M9BDrWVwyI=",
"owner": "sadjow",
"repo": "claude-code-nix",
"rev": "00189c0d55fd64d8f7880979d9f91dcb675996e0",
"type": "github"
},
"original": {
"owner": "sadjow",
"ref": "latest",
"repo": "claude-code-nix",
"type": "github"
}
},
"comoji": { "comoji": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -153,7 +173,7 @@
}, },
"dw-proton": { "dw-proton": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1773118123, "lastModified": 1773118123,
@ -281,7 +301,7 @@
}, },
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems_6" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@ -315,6 +335,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_3": {
"inputs": {
"systems": "systems_8"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"git-hooks": { "git-hooks": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
@ -478,9 +516,9 @@
"git-hooks": "git-hooks", "git-hooks": "git-hooks",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_3",
"nu-env": "nu-env", "nu-env": "nu-env",
"systems": "systems_3", "systems": "systems_4",
"templates": "templates", "templates": "templates",
"valhali": "valhali", "valhali": "valhali",
"vaultix": "vaultix" "vaultix": "vaultix"
@ -657,16 +695,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1752687322, "lastModified": 1773110118,
"narHash": "sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo=", "narHash": "sha256-mPAG8phMbCReKSiKAijjjd3v7uVcJOQ75gSjGJjt/Rk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6e987485eb2c77e5dcc5af4e3c70843711ef9251", "rev": "e607cb5360ff1234862ac9f8839522becb853bb9",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-unstable", "ref": "nixpkgs-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -703,6 +741,22 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1752687322,
"narHash": "sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6e987485eb2c77e5dcc5af4e3c70843711ef9251",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1771369470, "lastModified": 1771369470,
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=", "narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
@ -717,7 +771,7 @@
"type": "indirect" "type": "indirect"
} }
}, },
"nixpkgs_3": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1757584362, "lastModified": 1757584362,
"narHash": "sha256-XeTX/w16rUNUNBsfaOVCDoMMa7Xu7KvIMT7tn1zIEcg=", "narHash": "sha256-XeTX/w16rUNUNBsfaOVCDoMMa7Xu7KvIMT7tn1zIEcg=",
@ -731,7 +785,7 @@
"type": "indirect" "type": "indirect"
} }
}, },
"nixpkgs_4": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1773282481, "lastModified": 1773282481,
"narHash": "sha256-b/GV2ysM8mKHhinse2wz+uP37epUrSE+sAKXy/xvBY4=", "narHash": "sha256-b/GV2ysM8mKHhinse2wz+uP37epUrSE+sAKXy/xvBY4=",
@ -747,7 +801,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1761672384, "lastModified": 1761672384,
"narHash": "sha256-o9KF3DJL7g7iYMZq9SWgfS1BFlNbsm6xplRjVlOCkXI=", "narHash": "sha256-o9KF3DJL7g7iYMZq9SWgfS1BFlNbsm6xplRjVlOCkXI=",
@ -837,8 +891,8 @@
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"crane": "crane_3", "crane": "crane_3",
"flake-utils": "flake-utils", "flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_6",
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_3"
}, },
"locked": { "locked": {
@ -857,6 +911,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"claude-code": "claude-code",
"dw-proton": "dw-proton", "dw-proton": "dw-proton",
"home-manager": "home-manager", "home-manager": "home-manager",
"intel-hw": "intel-hw", "intel-hw": "intel-hw",
@ -865,7 +920,7 @@
"niri-flake": "niri-flake", "niri-flake": "niri-flake",
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_5",
"ragenix": "ragenix", "ragenix": "ragenix",
"sccache": "sccache" "sccache": "sccache"
} }
@ -954,7 +1009,7 @@
}, },
"sccache": { "sccache": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_3",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
@ -1078,9 +1133,24 @@
"type": "github" "type": "github"
} }
}, },
"systems_8": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"templates": { "templates": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1757668691, "lastModified": 1757668691,
@ -1098,7 +1168,7 @@
}, },
"utils": { "utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1710146030,
@ -1116,7 +1186,7 @@
}, },
"utils_2": { "utils_2": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@ -1134,7 +1204,7 @@
}, },
"utils_3": { "utils_3": {
"inputs": { "inputs": {
"systems": "systems_4" "systems": "systems_5"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,

View file

@ -31,6 +31,7 @@
url = "github:mozilla/sccache"; url = "github:mozilla/sccache";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
claude-code.url = "github:sadjow/claude-code-nix/latest";
}; };
outputs = outputs =
inputs@{ inputs@{
@ -44,6 +45,7 @@
nix-flatpak, nix-flatpak,
kernel-src, kernel-src,
sccache, sccache,
claude-code,
... ...
}: }:
let let
@ -51,7 +53,10 @@
# pkgs = nixpkgs.${system}.packages; # pkgs = nixpkgs.${system}.packages;
pkgs = nixpkgs { pkgs = nixpkgs {
inherit system; inherit system;
overlays = [ sccache.overlays.default ]; overlays = [
sccache.overlays.default
claude-code.overlays.default
];
}; };
in in
{ {

View file

@ -96,6 +96,7 @@
dsearch dsearch
lmstudio lmstudio
# vllm # vllm
claude-code
# kdePackages.kdenlive # kdePackages.kdenlive
(python313.withPackages ( (python313.withPackages (