From 8bcdd8b14645df3e9d30b6607961b180d481fdd7 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 4 Jul 2026 17:04:06 -0700 Subject: [PATCH] nixos: bump claude and codex flakes --- nixos/code.nix | 5 +---- nixos/flake.lock | 18 +++++++++--------- nixos/justfile | 4 ++++ 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/nixos/code.nix b/nixos/code.nix index 9903bd93..2639051f 100644 --- a/nixos/code.nix +++ b/nixos/code.nix @@ -13,10 +13,7 @@ let patches = [ ./patches/codex-desktop-linux-gsettings-schemas.patch ]; }; claudeDesktopSource = inputs.claude-desktop; - claudeDesktopNodePty = pkgs.callPackage "${claudeDesktopSource}/nix/node-pty.nix" {}; - claudeDesktop = pkgs.callPackage "${claudeDesktopSource}/nix/claude-desktop.nix" { - node-pty = claudeDesktopNodePty; - }; + claudeDesktop = pkgs.callPackage "${claudeDesktopSource}/nix/claude-desktop.nix" {}; claudeDesktopFhs = pkgs.callPackage "${claudeDesktopSource}/nix/fhs.nix" { claude-desktop = claudeDesktop; }; diff --git a/nixos/flake.lock b/nixos/flake.lock index 7e5a4268..4088ce91 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -114,11 +114,11 @@ ] }, "locked": { - "lastModified": 1782941856, - "narHash": "sha256-dFuLC6GQSR1g9Uy7lc9Qk/etujkCjrDE85B/np7khvg=", + "lastModified": 1783124463, + "narHash": "sha256-rIawyN3+D9uqGmoYpTLZ2D6PYEp8xPykto8Uu+ER830=", "owner": "sadjow", "repo": "claude-code-nix", - "rev": "90a137caf9a6d82389c0b26a719e26c4e6707367", + "rev": "9b05ec91a00ee8edea17b9279d55a5c1f084d754", "type": "github" }, "original": { @@ -135,11 +135,11 @@ ] }, "locked": { - "lastModified": 1782956748, - "narHash": "sha256-oOOJnpaOZ6YstEiiRW2YYo7+ddemp2C4KgJiD2apxEQ=", + "lastModified": 1783205086, + "narHash": "sha256-ZohPI0vL/ACPtl3gwvKUXJK0x5vB6JkJAh2h54q6ZMs=", "owner": "aaddrick", "repo": "claude-desktop-debian", - "rev": "ac09c6ffa3246c9227ab711c7428dff734c9b601", + "rev": "4babcba9b5ecdced1775725c79774b3e7d511750", "type": "github" }, "original": { @@ -182,11 +182,11 @@ ] }, "locked": { - "lastModified": 1782936160, - "narHash": "sha256-xlZOqLVv2A+sMFcMWuKD4VUBTr+KxXrhBKWumO6RDtM=", + "lastModified": 1783183368, + "narHash": "sha256-cTE43H0BRqOUyXoe97oDRZJBgFKTgJsySloN1g2pUJ8=", "owner": "ilysenko", "repo": "codex-desktop-linux", - "rev": "f6d6ff959c1375f9ae735d1ff4d5be7629d627be", + "rev": "5af25d11e69b33aa99cab412796b8372e74de579", "type": "github" }, "original": { diff --git a/nixos/justfile b/nixos/justfile index 0fbe6c80..c33d0070 100644 --- a/nixos/justfile +++ b/nixos/justfile @@ -5,6 +5,10 @@ switch *args: case "$(/run/current-system/sw/bin/systemctl show -P ActiveState nixos-upgrade.service 2>/dev/null)" in active|activating|reloading) /run/wrappers/bin/sudo /run/current-system/sw/bin/systemctl stop nixos-upgrade.service;; esac dotfiles_worktree="$(/run/current-system/sw/bin/readlink -f "$PWD/..")"; /run/wrappers/bin/sudo env DOTFILES_WORKTREE="$dotfiles_worktree" PATH=/run/current-system/sw/bin:/nix/var/nix/profiles/system/sw/bin:/etc/profiles/per-user/root/bin:/usr/bin:/bin /run/current-system/sw/bin/nixos-rebuild switch --flake ".#" --impure --option substituters '{{switch-substituters}}' --option trusted-public-keys '{{switch-trusted-public-keys}}' {{args}} +bump-claude-codex *args: + PATH=/run/current-system/sw/bin:/nix/var/nix/profiles/system/sw/bin:/etc/profiles/per-user/root/bin:/usr/bin:/bin nix flake update codex-cli-nix codex-desktop-linux claude-code-nix claude-desktop + just switch {{args}} + populate-cachix cache="colonelpanic8-dotfiles" host=`hostname` *args: store_path="$(nix build --no-link --print-out-paths ".#nixosConfigurations.{{host}}.config.system.build.toplevel" --impure --option warn-dirty false {{args}})" && cachix push {{cache}} "$store_path"