feat: install codex cli, add yolo ssh host aliases

cliPackage only points the desktop app at codex; it never put the cli on
PATH, so `codex` was missing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
naps62
2026-08-17 07:59:34 +00:00
parent e0e71a44d1
commit 2e23c695a2
3 changed files with 48 additions and 0 deletions
+4
View File
@@ -9,6 +9,10 @@ in
{ {
imports = [ inputs.codex-desktop-linux.homeManagerModules.default ]; imports = [ inputs.codex-desktop-linux.homeManagerModules.default ];
# cliPackage only tells the desktop app where to find codex; it does not put
# it on PATH, so the cli needs installing separately.
home.packages = [ codex-cli ];
programs.codexDesktopLinux = { programs.codexDesktopLinux = {
enable = true; enable = true;
cliPackage = codex-cli; cliPackage = codex-cli;
+1
View File
@@ -15,6 +15,7 @@
../common/features/downloads-cleanup.nix ../common/features/downloads-cleanup.nix
./monitors.nix ./monitors.nix
./services.nix ./services.nix
./ssh.nix
]; ];
custom.hyprland.cursorSize = 32; custom.hyprland.cursorSize = 32;
+43
View File
@@ -0,0 +1,43 @@
_:
# Homelab host aliases, yolo-only. Ported from the hand-written ~/.ssh/config
# on the Ubuntu box.
{
programs.ssh.settings = {
"grafana" = {
HostName = "10.6.10.30";
User = "root";
IdentityFile = "~/.ssh/crowdsec-loki-10.6.10.30";
};
"jellyfin" = {
HostName = "10.6.10.18";
User = "root";
IdentityFile = "~/.ssh/crowdsec-loki-10.6.10.30";
};
"authelia" = {
HostName = "10.6.10.42";
User = "root";
IdentityFile = "~/.ssh/authelia-10.6.10.42";
};
"whisper" = {
HostName = "10.6.10.43";
User = "root";
IdentityFile = "~/.ssh/wyoming-voice";
IdentitiesOnly = true;
StrictHostKeyChecking = "accept-new";
};
"proxmox" = {
HostName = "10.1.10.3";
Port = 22022;
User = "root";
IdentityFile = "~/.ssh/proxmox-temp";
# Was `crowdsec-loki` in the hand-written config, which is no longer a
# Host — same machine, now aliased `grafana`.
ProxyJump = "grafana";
StrictHostKeyChecking = "accept-new";
};
};
}