Fix manual NixOS switch

This commit is contained in:
2026-05-15 03:15:02 -07:00
parent 445f6bb2d7
commit c5627de004
2 changed files with 9 additions and 1 deletions

View File

@@ -6,6 +6,13 @@
makeEnable,
...
}:
let
codexDesktop = inputs.codex-desktop-linux.packages.${pkgs.stdenv.hostPlatform.system}.default.overrideAttrs (oldAttrs: {
src = oldAttrs.src.overrideAttrs (_: {
outputHash = "sha256-FlPgkhlWpyjigv+r46srQlO7+zq8G3Ow6IMVpAUjCWQ=";
});
});
in
makeEnable config "myModules.code" true {
programs.direnv = {
enable = true;
@@ -60,7 +67,7 @@ makeEnable config "myModules.code" true {
antigravity
claude-code
codex
inputs.codex-desktop-linux.packages.${pkgs.stdenv.hostPlatform.system}.default
codexDesktop
gemini-cli
happy-coder
opencode

View File

@@ -1,4 +1,5 @@
switch *args:
if systemctl is-active --quiet nixos-upgrade.service; then sudo systemctl stop nixos-upgrade.service; fi
sudo nixos-rebuild switch --flake ".#" --impure {{args}}
populate-cachix cache="colonelpanic8-dotfiles" host=`hostname` *args: