Enable Codex remote control

This commit is contained in:
2026-05-15 02:30:33 -07:00
parent e9c95cfc45
commit 79f24aa0ae
3 changed files with 43 additions and 5 deletions

View File

@@ -32,6 +32,28 @@ makeEnable config "myModules.code" true {
}
];
home-manager.users.imalison = lib.mkIf config.myModules.desktop.enable {
programs.codex = {
enable = true;
package = pkgs.codex;
remoteControl = {
enable = true;
package = pkgs.codex;
extraPackages = with pkgs; [
bash
coreutils
findutils
git
gnugrep
gnused
nix
openssh
];
listen = "unix://";
};
};
};
environment.systemPackages = with pkgs;
[
# LLM Tools

8
nixos/flake.lock generated
View File

@@ -161,16 +161,16 @@
]
},
"locked": {
"lastModified": 1778828520,
"narHash": "sha256-bnSqtBa6TaUVQbQl7DlGIUfq4eiHp/IeNZaQYMeFUkk=",
"lastModified": 1778835238,
"narHash": "sha256-aesAPhJagqrhxXnbHNJQ4wVwmaTEWwPcLTLrS/z8Fhw=",
"owner": "colonelpanic8",
"repo": "codex-desktop-linux",
"rev": "9b50b81fe86714ab5530f21be9982d35297cf9d5",
"rev": "88f62ec4803d0d9d000f8252878d790254634a55",
"type": "github"
},
"original": {
"owner": "colonelpanic8",
"ref": "reenable-computer-use-in-nix",
"ref": "main",
"repo": "codex-desktop-linux",
"type": "github"
}

View File

@@ -240,7 +240,7 @@
};
codex-desktop-linux = {
url = "github:colonelpanic8/codex-desktop-linux?ref=reenable-computer-use-in-nix";
url = "github:colonelpanic8/codex-desktop-linux/main";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
@@ -292,6 +292,22 @@
url = "https://github.com/colonelpanic8/home-manager/commit/92f4b7aa5254f8bcddc9ef86e04ea5314410d10b.patch";
hash = "sha256-RQl5daVpCqQi05l9QfTEz2PpQxmsv/HYnXrgXbqbwWk=";
}
{
url = "https://github.com/colonelpanic8/home-manager/commit/1e7a11991ae0149c0e3ba24c692200b2e7f94cbd.patch";
hash = "sha256-3Oni+4z11DbCvVZiJaKUv1UcnXRowCljvgU0QobWKkQ=";
}
{
url = "https://github.com/colonelpanic8/home-manager/commit/504ccee0f03033e2c762f6ee8f5a84b002e01ec7.patch";
hash = "sha256-3z7lWp8K54eiRnXPgGDeFwQ7/w6M38B3iKhL9UCrj9w=";
}
{
url = "https://github.com/colonelpanic8/home-manager/commit/a82a664a30f2f07cd300d8a2191d8046b7b5dfdd.patch";
hash = "sha256-qFdJB5AbQXJCl9xaapxgAOaPcU9V1rmnJXrI7Pjw1jE=";
}
{
url = "https://github.com/colonelpanic8/home-manager/commit/13cdadc023e4dfd7b42ef2362cfd0ba9f129fd21.patch";
hash = "sha256-HnSvZtQjI3eAhyENmQvBvKwlWPmDPcvHs2MyYg3u08s=";
}
];
# Convert PR patches to full patch format for nixpkgs