Add serokell substituter
This commit is contained in:
parent
08942bab84
commit
9c5e9be7de
@ -1,7 +1,10 @@
|
|||||||
{ pkgs, lib, inputs, ... }: {
|
{ pkgs, lib, inputs, ... }: {
|
||||||
nix = rec {
|
nix = rec {
|
||||||
nixPath = lib.mkForce [ "self=/etc/self/compat" "nixpkgs=/etc/nixpkgs" ];
|
nixPath = lib.mkForce [ "self=/etc/self/compat" "nixpkgs=/etc/nixpkgs" ];
|
||||||
binaryCaches = [ "https://cache.nixos.org" ];
|
binaryCaches = [
|
||||||
|
"https://cache.nixos.org"
|
||||||
|
"s3://serokell-private-cache?endpoint=s3.eu-central-1.wasabisys.com&profile=serokell-private-cache-wasabi"
|
||||||
|
];
|
||||||
|
|
||||||
registry.self.flake = inputs.self;
|
registry.self.flake = inputs.self;
|
||||||
registry.np.flake = inputs.nixpkgs;
|
registry.np.flake = inputs.nixpkgs;
|
||||||
@ -14,6 +17,7 @@
|
|||||||
|
|
||||||
binaryCachePublicKeys = [
|
binaryCachePublicKeys = [
|
||||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
|
"serokell-1:aIojg2Vxgv7MkzPJoftOO/I8HKX622sT+c0fjnZBLj0="
|
||||||
];
|
];
|
||||||
|
|
||||||
package = inputs.nix.defaultPackage.x86_64-linux.overrideAttrs (oa: {
|
package = inputs.nix.defaultPackage.x86_64-linux.overrideAttrs (oa: {
|
||||||
|
Loading…
Reference in New Issue
Block a user