Add T3 Code to NixOS

This commit is contained in:
2026-07-13 17:47:44 -07:00
parent 560c60ed07
commit 22c0de42f1
5 changed files with 33 additions and 1 deletions

View File

@@ -127,6 +127,7 @@ in
inputs.gmcli.packages.${pkgs.stdenv.hostPlatform.system}.default
inputs.lastfm-edit.packages.${pkgs.stdenv.hostPlatform.system}.scrobble-scrubber-app
opencode
t3code
# MCP
github-mcp-server

21
nixos/flake.lock generated
View File

@@ -2087,6 +2087,7 @@
"railbird-secrets": "railbird-secrets",
"rlru": "rlru",
"systems": "systems_6",
"t3code-nix": "t3code-nix",
"vscode-server": "vscode-server",
"xmonad": "xmonad_2",
"xmonad-contrib": "xmonad-contrib_2",
@@ -2254,6 +2255,26 @@
"type": "github"
}
},
"t3code-nix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1783865433,
"narHash": "sha256-R/2UilYyaOqwCZ+C15VPSzrl73yXBmguT/ac/nXGIUw=",
"owner": "omarcresp",
"repo": "t3code-flake",
"rev": "99b3a112b35345593b0bff31617e13f1c7389338",
"type": "github"
},
"original": {
"owner": "omarcresp",
"repo": "t3code-flake",
"type": "github"
}
},
"taffybar": {
"inputs": {
"flake-utils": "flake-utils_3",

View File

@@ -290,6 +290,11 @@
};
};
t3code-nix = {
url = "github:omarcresp/t3code-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
claude-desktop = {
url = "github:aaddrick/claude-desktop-debian";
inputs.nixpkgs.follows = "nixpkgs";

View File

@@ -9,6 +9,10 @@ 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}}
bump-t3code *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 t3code-nix
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"

View File

@@ -110,10 +110,11 @@
# (import ./nvidia-container-toolkit-overlay.nix)
(import ./emacs-overlay.nix)
(import ../nix-shared/overlays)
# Use codex and claude-code from dedicated flakes with cachix
# Use fast-moving agent tools from dedicated flakes.
(final: prev: {
codex = inputs.codex-cli-nix.packages.${prev.stdenv.hostPlatform.system}.default;
claude-code = inputs.claude-code-nix.packages.${prev.stdenv.hostPlatform.system}.default;
t3code = inputs.t3code-nix.packages.${prev.stdenv.hostPlatform.system}.default;
git-sync-rs = inputs.git-sync-rs.packages.${prev.stdenv.hostPlatform.system}.default;
elegant-grub2-theme = final.callPackage ./packages/elegant-grub2-theme {};
kef = final.callPackage ./packages/kef {};