Add clanker

This commit is contained in:
2026-05-03 02:44:44 -05:00
parent 20e83dcbfa
commit c20909d919
2 changed files with 23 additions and 0 deletions
+1
View File
@@ -9,5 +9,6 @@
./base/system.nix
./base/users.nix
./desktop/hyprland.nix
./desktop/codex.nix
];
}
+22
View File
@@ -0,0 +1,22 @@
#
# Codex custom package
#
{ pkgs, ... };
{
environment.systemPackages = [
(pkgs.stdenvNoCC.mkDerivation {
name = "codex";
version = "0.128.0";
src = pkgs.fetchurl {
url = "https://github.com/openai/codex/releases/download/rust-v0.128.0/codex-x86_64-unknown-linux-musl.tar.gz"
hash = "sha256-iGuF5hGMC0MjRDfKAH++kjYRpTsQPQDg0650rvsg4jo="
};
installPhase = ''
mkdir -p $out/bin
tar xzf $src
install -m755 codex-x86_64-unknown-linux-musl $out/bin/codex
'';
})
];
}