This commit is contained in:
Shelvacu
2025-02-23 15:50:57 -08:00
committed by Shelvacu on fw
parent 515f981e02
commit e4f8943fb6
4 changed files with 28 additions and 9 deletions

8
flake.lock generated
View File

@@ -1584,11 +1584,11 @@
},
"sm64baserom": {
"locked": {
"lastModified": 1727217362,
"narHash": "sha256-Ws5dVa/7kFnesEkZsRPJmqnYKNlBYm7fx49KgT73bS8=",
"lastModified": 1740354049,
"narHash": "sha256-TjM3NBM0AR35QrY1mJgOgIDLUjh3On/V7tbqtc+Zg1g=",
"ref": "refs/heads/master",
"rev": "aeb2d33ee623ede8c88f0f492c80f437889adfe1",
"revCount": 1,
"rev": "16c8d0232ef05204a147cb9429e38055db47021e",
"revCount": 5,
"type": "git",
"url": "https://git.uninsane.org/shelvacu/sm64baserom.git"
},

View File

@@ -460,6 +460,7 @@
vnopnCA = pkgs-stable.writeText "vnopnCA.cert" plain.config.vacu.vnopnCA;
wrappedSops = plain.config.vacu.wrappedSops;
z3 = pkgs-unstable.callPackage ./packages/z3 { };
mycoopdx = pkgs-unstable.callPackage ./packages/sm64coopdx.nix { };
# zulip-server = pkgs.python312Packages.callPackage ./packages/zulip.nix { };
};
}

13
packages/sm64coopdx.nix Normal file
View File

@@ -0,0 +1,13 @@
{
sm64coopdx,
fetchFromGitHub,
}:
sm64coopdx.overrideAttrs {
version = "1.2.1";
src = fetchFromGitHub {
owner = "coop-deluxe";
repo = "sm64coopdx";
tag = "v1.2.1";
hash = "sha256-QWxhu7wGIjOIJyqjqakUzhhF+WxQslZdX3aEWYdDZbw=";
};
}

View File

@@ -52,11 +52,16 @@
config.services.postgresql.package
(pkgs.writeScriptBin "into-nix-cache" ''
if [[ $UID -ne 0 ]]; then exec sudo $0 "$@";fi
${pkgs.nix}/bin/nix copy \
--no-update-lock-file \
--no-write-lock-file \
--to 'file:///trip/nix-binary-cache?parallel-compression=true&secret-key=/root/cache-priv-key.pem&want-mass-query=true&write-nar-listing=true' \
"$@"
cmd=(
${pkgs.nix}/bin/nix
copy
--no-update-lock-file
--no-write-lock-file
--keep-going
--to 'file:///trip/nix-binary-cache?parallel-compression=true&secret-key=/root/cache-priv-key.pem&want-mass-query=true&write-nar-listing=true'
"$@"
)
"''${cmd[@]}"
'')
];
hardware.graphics.extraPackages = [