Update opencode

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-07-21 10:56:54 -05:00
parent 61004de123
commit 5d0674e046
5 changed files with 35 additions and 34 deletions

26
common/flake.lock generated
View file

@ -85,11 +85,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1751810233, "lastModified": 1753055804,
"narHash": "sha256-kllkNbIqQi3VplgTMeGzuh1t8Gk8TauvkTRt93Km+tQ=", "narHash": "sha256-KerePGJYX47ex6OY3CWsid4AltO2gDtQROunYJ0eCEE=",
"owner": "rycee", "owner": "rycee",
"repo": "home-manager", "repo": "home-manager",
"rev": "9b0873b46c9f9e4b7aa01eb634952c206af53068", "rev": "adf195f021a8cbb0c317f75b52e96c82616526f9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -139,11 +139,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1751582995, "lastModified": 1752620740,
"narHash": "sha256-u7ubvtxdTnFPpV27AHpgoKn7qHuE7sgWgza/1oj5nzA=", "narHash": "sha256-f3pO+9lg66mV7IMmmIqG4PL3223TYMlnlw+pnpelbss=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7a732ed41ca0dd64b4b71b563ab9805a80a7d693", "rev": "32a4e87942101f1c9f9865e04dc3ddb175f5f32e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -155,11 +155,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1752480373, "lastModified": 1752950548,
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=", "narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08", "rev": "c87b95e25065c028d31a94f06a62927d18763fdf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -188,16 +188,16 @@
"opencode": { "opencode": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1752630643, "lastModified": 1753052738,
"narHash": "sha256-PRNRs0UsKNXFTwvtrrImd3UmrpNvFP9xc8BrIdx1Q9Q=", "narHash": "sha256-KJUpiYA50EsnuVHRLWtuEDHKdk2XaRfoELEG1Qq7aq0=",
"owner": "sst", "owner": "sst",
"repo": "opencode", "repo": "opencode",
"rev": "0793c3f2a373436fb70eb936df16e21ce1243b19", "rev": "adc8b90e0fc8119d0889cfe20813bd2da7a36758",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "sst", "owner": "sst",
"ref": "v0.3.13", "ref": "v0.3.45",
"repo": "opencode", "repo": "opencode",
"type": "github" "type": "github"
} }

View file

@ -7,7 +7,7 @@
# tmp # tmp
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
opencode.url = "github:sst/opencode/v0.3.17"; opencode.url = "github:sst/opencode/v0.3.50";
opencode.flake = false; opencode.flake = false;
}; };
@ -36,13 +36,13 @@
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {
opencode = nixpkgs-unstable.legacyPackages.${prev.system}.opencode.overrideAttrs (old: rec { opencode = nixpkgs-unstable.legacyPackages.${prev.system}.opencode.overrideAttrs (old: rec {
version = "0.3.17"; version = "0.3.50";
src = opencode; src = opencode;
node_modules = old.node_modules.overrideAttrs (nmOld: { node_modules = old.node_modules.overrideAttrs (nmOld: {
outputHash = "sha256-nWHdoRI9uaR3Innt14SR6l3V1SpFU/1A+TELh6J6o/A="; outputHash = "sha256-XIRV1QrgRHnpJyrgK9ITxH61dve7nWfVoCPs3Tc8nuU=";
}); });
tui = old.tui.overrideAttrs (tuiOld: { tui = old.tui.overrideAttrs (tuiOld: {
vendorHash = "sha256-GeXDi/y9NoJJ9P5hQk0vtIxg/6pDDtMPdxgQvHZJzJ4="; vendorHash = "sha256-MZAKEXA34dHiH4XYUlLq6zo8ppG8JD3nj7fhZMrr+TI=";
}); });
}); });
}) })

View file

@ -64,6 +64,7 @@ in
networking = { networking = {
hostName = top_cfg.systemName; hostName = top_cfg.systemName;
nftables.enable = true; nftables.enable = true;
nftables.flushRuleset = true;
firewall.enable = true; firewall.enable = true;
}; };

32
flake.lock generated
View file

@ -85,11 +85,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1751810233, "lastModified": 1753055804,
"narHash": "sha256-kllkNbIqQi3VplgTMeGzuh1t8Gk8TauvkTRt93Km+tQ=", "narHash": "sha256-KerePGJYX47ex6OY3CWsid4AltO2gDtQROunYJ0eCEE=",
"owner": "rycee", "owner": "rycee",
"repo": "home-manager", "repo": "home-manager",
"rev": "9b0873b46c9f9e4b7aa01eb634952c206af53068", "rev": "adf195f021a8cbb0c317f75b52e96c82616526f9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -139,11 +139,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1751582995, "lastModified": 1752620740,
"narHash": "sha256-u7ubvtxdTnFPpV27AHpgoKn7qHuE7sgWgza/1oj5nzA=", "narHash": "sha256-f3pO+9lg66mV7IMmmIqG4PL3223TYMlnlw+pnpelbss=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7a732ed41ca0dd64b4b71b563ab9805a80a7d693", "rev": "32a4e87942101f1c9f9865e04dc3ddb175f5f32e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -155,11 +155,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1752480373, "lastModified": 1752950548,
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=", "narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08", "rev": "c87b95e25065c028d31a94f06a62927d18763fdf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -171,11 +171,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1751637120, "lastModified": 1752950548,
"narHash": "sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8++xWA8itO4=", "narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5c724ed1388e53cc231ed98330a60eb2f7be4be3", "rev": "c87b95e25065c028d31a94f06a62927d18763fdf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -204,16 +204,16 @@
"opencode": { "opencode": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1752694492, "lastModified": 1753054616,
"narHash": "sha256-p65NhGI8zzcs8BDVAhPNZMZ9hXHKjztIGaLhXLxJAuY=", "narHash": "sha256-3Jm1rSp82kOk7DNvTZQMa+/xiMV1S8roN09NvPXrTNg=",
"owner": "sst", "owner": "sst",
"repo": "opencode", "repo": "opencode",
"rev": "fc45c0c9448eb435a183b86205fcfceda9714ec9", "rev": "758425a8e4025945e24a220f7f958207ee73d4f2",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "sst", "owner": "sst",
"ref": "v0.3.17", "ref": "v0.3.46",
"repo": "opencode", "repo": "opencode",
"type": "github" "type": "github"
} }

View file

@ -9,7 +9,7 @@
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest"; nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
opencode.url = "github:sst/opencode/v0.3.17"; opencode.url = "github:sst/opencode/v0.3.50";
opencode.flake = false; opencode.flake = false;
# ====== # ======
}; };