Update codex input and switch command

This commit is contained in:
2026-02-05 14:42:02 -08:00
parent 1f0d46ef3e
commit 4a431d410d
3 changed files with 59 additions and 56 deletions

69
nix-darwin/flake.lock generated
View File

@@ -27,16 +27,16 @@
"brew-src": { "brew-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1763638478, "lastModified": 1769363988,
"narHash": "sha256-n/IMowE9S23ovmTkKX7KhxXC2Yq41EAVFR2FBIXPcT8=", "narHash": "sha256-BiGPeulrDVetXP+tjxhMcGLUROZAtZIhU5m4MqawCfM=",
"owner": "Homebrew", "owner": "Homebrew",
"repo": "brew", "repo": "brew",
"rev": "fbfdbaba008189499958a7aeb1e2c36ab10c067d", "rev": "d01011cac6d72032c75fd2cd9489909e95d9faf2",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Homebrew", "owner": "Homebrew",
"ref": "5.0.3", "ref": "5.0.12",
"repo": "brew", "repo": "brew",
"type": "github" "type": "github"
} }
@@ -49,11 +49,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770168651, "lastModified": 1770315205,
"narHash": "sha256-SxzTEu49iaAA/nAT28Rsr4BmjC3eCkiaM4/ZYBVhhNQ=", "narHash": "sha256-yOYprNUvMHRBC7EfmhNOYYLqNm43cLtydV39ITnCfZk=",
"owner": "sadjow", "owner": "sadjow",
"repo": "claude-code-nix", "repo": "claude-code-nix",
"rev": "f256f48c037a6e54afa332795328f753f2fafbaf", "rev": "b774ffcdcd9987f4a2e6e3809130d04438e29a13",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -70,15 +70,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770232831, "lastModified": 1770321000,
"narHash": "sha256-C5e2wjd//pLJA1LqSYc/y9aZkM8wmZo/BAuzhZDuyFE=", "narHash": "sha256-g5Q2VES3eKkLiHfRTeuhmStxZvgb+/oTtRnSEXrPZQk=",
"owner": "sadjow", "owner": "colonelpanic8",
"repo": "codex-cli-nix", "repo": "codex-cli-nix",
"rev": "64805eb1d1afffcbbcef0ffc053295f0065cd51d", "rev": "9386e1dfd5555b949bb934f062e8cb7971868f8d",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "sadjow", "owner": "colonelpanic8",
"ref": "fix/add-libcap-to-rpath",
"repo": "codex-cli-nix", "repo": "codex-cli-nix",
"type": "github" "type": "github"
} }
@@ -167,11 +168,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1767930051, "lastModified": 1770318660,
"narHash": "sha256-YXtqo8h5bAbqC64XAPMMsZdYk8XkwkyNj/7XOsIyVf8=", "narHash": "sha256-yFVde8QZK7Dc0Xa8eQDsmxLX4NJNfL1NKfctSyiQgMY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "297a08510894822ddd93ee2cfc66d6ac65a3cebb", "rev": "471e6a065f9efed51488d7c51a9abbd387df91b8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -205,11 +206,11 @@
"homebrew-cask": { "homebrew-cask": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1767937441, "lastModified": 1770329113,
"narHash": "sha256-hiGvxqI6npGOAnNwMXkF1628IkyKhhYsAqO5kmSAuqM=", "narHash": "sha256-Os2PWAIdjdsVcBjHcI8Ylwty5qnR+Dhvb1LQ2kuR29A=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-cask", "repo": "homebrew-cask",
"rev": "cc94d21fe7abb3cc93db50671bf5048176711be9", "rev": "9db89c6e9fe65f0fe9c8ecf6070e788532161fde",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -221,11 +222,11 @@
"homebrew-core": { "homebrew-core": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1767948289, "lastModified": 1770328672,
"narHash": "sha256-a6s+kRHOXRq4QoA4bDLZVKpC1woi6tTRqEt8Vk0ikGo=", "narHash": "sha256-l9sCOH8PyK7QyjsT8W8k4ql/2Hzv7FCYGq6l0WEh5AM=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-core", "repo": "homebrew-core",
"rev": "f268dcd932823c65f8feb2cfc533300ccbcc4541", "rev": "a483f6dd19f9d604f5db5edaa58c3ad43c23e2b3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -241,11 +242,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1767718503, "lastModified": 1770184146,
"narHash": "sha256-V+VkFs0aSG0ca8p/N3gib7FAf4cq9jyr5Gm+ZBrHQpo=", "narHash": "sha256-DsqnN6LvXmohTRaal7tVZO/AKBuZ02kPBiZKSU4qa/k=",
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "9f48ffaca1f44b3e590976b4da8666a9e86e6eb1", "rev": "0d7874ef7e3ba02d58bebb871e6e29da36fa1b37",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -259,11 +260,11 @@
"brew-src": "brew-src" "brew-src": "brew-src"
}, },
"locked": { "locked": {
"lastModified": 1764473698, "lastModified": 1769437432,
"narHash": "sha256-C91gPgv6udN5WuIZWNehp8qdLqlrzX6iF/YyboOj6XI=", "narHash": "sha256-8d7KnCpT2LweRvSzZYEGd9IM3eFX+A78opcnDM0+ndk=",
"owner": "zhaofengli-wip", "owner": "zhaofengli-wip",
"repo": "nix-homebrew", "repo": "nix-homebrew",
"rev": "6a8ab60bfd66154feeaa1021fc3b32684814a62a", "rev": "a5409abd0d5013d79775d3419bcac10eacb9d8c5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -274,11 +275,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1767364772, "lastModified": 1770169770,
"narHash": "sha256-fFUnEYMla8b7UKjijLnMe+oVFOz6HjijGGNS1l7dYaQ=", "narHash": "sha256-awR8qIwJxJJiOmcEGgP2KUqYmHG4v/z8XpL9z8FnT1A=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "16c7794d0a28b5a37904d55bcca36003b9109aaa", "rev": "aa290c9891fa4ebe88f8889e59633d20cc06a5f2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -311,11 +312,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1766173571, "lastModified": 1769653852,
"narHash": "sha256-iYU5oTgXkZHqkb03IDPVMHA4Yte4AFhusTem0nf7pcc=", "narHash": "sha256-c4OP02iityp81ww01JDvPQ9cVrbU5S7z3i2iFKltIH4=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "5b42885b7c702fb30b4678e5cb51cc8501fd7830", "rev": "2a750e0356b6dad548e32f7e99117e40ad901c66",
"revCount": 139, "revCount": 144,
"type": "git", "type": "git",
"url": "ssh://gitea@dev.railbird.ai:1123/railbird/secrets-flake.git" "url": "ssh://gitea@dev.railbird.ai:1123/railbird/secrets-flake.git"
}, },

View File

@@ -23,7 +23,7 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
codex-cli-nix = { codex-cli-nix = {
url = "github:sadjow/codex-cli-nix"; url = "github:colonelpanic8/codex-cli-nix/fix/add-libcap-to-rpath";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
@@ -36,7 +36,10 @@
outputs = inputs@{ self, nix-darwin, nixpkgs, home-manager, ... }: outputs = inputs@{ self, nix-darwin, nixpkgs, home-manager, ... }:
let let
libDir = ../dotfiles/lib; libDir = ../dotfiles/lib;
configuration = { pkgs, config, ... }: { configuration = { pkgs, lib, config, ... }:
let
essentialPkgs = (import ../nixos/essential.nix { inherit pkgs lib; }).environment.systemPackages;
in {
networking.hostName = "mac-demarco-mini"; networking.hostName = "mac-demarco-mini";
imports = [ (import ./gitea-actions-runner.nix) ]; imports = [ (import ./gitea-actions-runner.nix) ];
services.gitea-actions-runner = { services.gitea-actions-runner = {
@@ -130,25 +133,21 @@
claude-code = inputs.claude-code-nix.packages.${prev.stdenv.hostPlatform.system}.default; claude-code = inputs.claude-code-nix.packages.${prev.stdenv.hostPlatform.system}.default;
}) })
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages =
#python-with-my-packages essentialPkgs
emacs ++ (with pkgs; [
alejandra alejandra
claude-code
cocoapods cocoapods
gitFull codex
just
tmux
htop
nodePackages.prettier nodePackages.prettier
nodejs nodejs
ripgrep
slack slack
claude-code tea
codex
typescript typescript
vim vim
yarn yarn
]; ]);
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;

View File

@@ -1,2 +1,5 @@
switch: switch:
nix run nix-darwin -- switch --flake .# sudo -H /run/current-system/sw/bin/nix run nix-darwin -- switch --flake .#
update-nix-darwin:
nix flake lock --update-input nix-darwin