Add codex 0.92.0 PR patch and fix deprecation warnings

- Add nixpkgs PR 483705 to bump codex from 0.89.0 to 0.92.0
- Disable overlay version overrides in favor of PR patches
- Replace deprecated pkgs.system with pkgs.stdenv.hostPlatform.system
- Replace deprecated xfce.thunar with thunar

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-31 00:15:33 -08:00
parent a716ec1694
commit bf02a7ee4c
9 changed files with 17 additions and 13 deletions

View File

@@ -78,7 +78,7 @@ makeEnable config "myModules.code" true {
nixd
nil
alejandra
] ++ (if pkgs.system == "x86_64-linux" then with pkgs; [
] ++ (if pkgs.stdenv.hostPlatform.system == "x86_64-linux" then with pkgs; [
# purescript
purescript
# Broken

View File

@@ -87,7 +87,7 @@ makeEnable config "myModules.desktop" true {
# TODO: reenable
# transmission_3-gtk
vlc
xfce.thunar
thunar
# Audio
picard
@@ -102,7 +102,7 @@ makeEnable config "myModules.desktop" true {
# Visualization
graphviz
nodePackages.mermaid-cli
] ++ (if pkgs.system == "x86_64-linux" then with pkgs; [
] ++ (if pkgs.stdenv.hostPlatform.system == "x86_64-linux" then with pkgs; [
google-chrome
pommed_light
slack

View File

@@ -8,7 +8,7 @@ makeEnable config "myModules.electron" false {
# keybase-gui
zoom-us
];
home-manager.users = forEachUser (if pkgs.system == "x86_64-linux" then {
home-manager.users = forEachUser (if pkgs.stdenv.hostPlatform.system == "x86_64-linux" then {
# systemd.user.services.bitwarden = {
# Unit = {
# Description = "Bitwarden";

View File

@@ -153,6 +153,10 @@
pr = 434160; # git-sync-rs package
hash = "sha256-0j0IcyHd7rE+MXc0SHu8UixW7Jbtzu1NnzSjEVeZmTA=";
}
{
pr = 483705; # codex: 0.89.0 -> 0.92.0
hash = "sha256-tkZP0ATAAuBNnJGo+xjXJD0byXAgeKoB+U3ZUaoCTHM=";
}
# claude-code
# {
# pr = 464698;

View File

@@ -40,7 +40,7 @@ makeEnable config "myModules.gitea-runner" false {
url = "https://dev.railbird.ai";
tokenFile = config.age.secrets.gitea-runner-token.path;
labels = [
"nixos-${pkgs.system}:host"
"nixos-${pkgs.stdenv.hostPlatform.system}:host"
"nix:docker://localhost:5921/nix-runner"
];
};

View File

@@ -3,7 +3,7 @@ makeEnable config "myModules.hyprland" true {
programs.hyprland = {
enable = true;
# Use Hyprland from the flake for proper plugin compatibility
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
};
# Hyprland-specific packages
@@ -21,7 +21,7 @@ makeEnable config "myModules.hyprland" true {
wlsunset # Night light / blue light filter
# hy3 plugin from flake (properly built against matching Hyprland)
inputs.hy3.packages.${pkgs.system}.hy3
inputs.hy3.packages.${pkgs.stdenv.hostPlatform.system}.hy3
# For scripts
jq

View File

@@ -1,8 +1,8 @@
final: prev:
let
# Enable/disable version overrides (set to false to use nixpkgs versions)
enableCodexOverride = true;
enableClaudeCodeOverride = true;
enableCodexOverride = false; # Using PR patches instead
enableClaudeCodeOverride = false; # Disabled - needs proper buildNpmPackage override
# Codex version override - update these values to bump the version
codexVersion = {
@@ -13,7 +13,7 @@ let
claudeCodeVersion = {
version = "2.1.22";
hash = "sha256-OqvLiwB5TwZaxDvyN/+/+eueBdWNaYxd81cd5AZK/mA=";
npmDepsHash = "";
npmDepsHash = "sha256-vy7osk3UAOEgsJx9jdcGe2wICOk5Urzxh1WLAHyHM+U=";
};
in
{

View File

@@ -3,7 +3,7 @@
imports = [ inputs.agenix.homeManagerModules.default ];
age.identityPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
home.packages = [
inputs.agenix.packages."${pkgs.system}".default
inputs.agenix.packages."${pkgs.stdenv.hostPlatform.system}".default
];
age.secrets.gpg-keys.file = ./secrets/gpg-keys.age;
age.secrets.gpg-passphrase.file = ./secrets/gpg-passphrase.age;

View File

@@ -31,7 +31,7 @@ makeEnable config "myModules.xmonad" true {
# haskellPackages.gtk-sni-tray
haskellPackages.status-notifier-item
haskellPackages.dbus-hslogger
inputs.imalison-taffybar.defaultPackage."${pkgs.system}"
inputs.imalison-taffybar.defaultPackage."${pkgs.stdenv.hostPlatform.system}"
];
home-manager.users = forEachUser {
@@ -43,7 +43,7 @@ makeEnable config "myModules.xmonad" true {
services.taffybar = {
enable = true;
package = inputs.imalison-taffybar.defaultPackage."${pkgs.system}";
package = inputs.imalison-taffybar.defaultPackage."${pkgs.stdenv.hostPlatform.system}";
};
services.kdeconnect = {