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 (
old:
let
version = "20260125";
in
{
inherit version;
src = final.fetchurl {
url = "https://github.com/Winetricks/winetricks/archive/refs/tags/${version}.tar.gz";
hash = "sha256-KJC9n7ut5GOOWLSZmiNycxkt8DtYUWrnuHceCcItL1Y=";
};
}
);
# winetricks = prev.winetricks.overrideAttrs (
# old:
# let
# version = "20260125";
# in
# {
# inherit version;
# src = final.fetchurl {
# url = "https://github.com/Winetricks/winetricks/archive/refs/tags/${version}.tar.gz";
# hash = "sha256-KJC9n7ut5GOOWLSZmiNycxkt8DtYUWrnuHceCcItL1Y=";
# };
# }
# );
}

110
flake.lock generated
View file

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

View file

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

View file

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