Remove remote globla registry.

This commit is contained in:
Kevin Baensch 2023-06-28 09:00:41 +02:00
parent 40bcd631dd
commit 11e51284fd
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 41 additions and 23 deletions

View file

@ -2,6 +2,7 @@
let
cfg = config.machine;
emptyGlobalRegistry = pkgs.writeText "registry.json" ''{ "flakes": [], "version": 2 }'';
in {
nix = {
package = pkgs.nix;
@ -24,6 +25,7 @@ in {
extraOptions = ''
build-timeout = 86400 # 24 hours
experimental-features = nix-command flakes
flake-registry = ${emptyGlobalRegistry}
'';
};
}

View file

@ -38,14 +38,15 @@
"flake-compat": "flake-compat",
"nixpkgs": "nixpkgs",
"nixpkgs-22_11": "nixpkgs-22_11",
"nixpkgs-23_05": "nixpkgs-23_05",
"utils": "utils"
},
"locked": {
"lastModified": 1684964237,
"narHash": "sha256-dDS+GhdZN2MAa2FJKFGM2gpgAXhx+xoMkpVsRx9qpDE=",
"lastModified": 1687462267,
"narHash": "sha256-rNSputjn/0HEHHnsKfQ8mQVEPVchcBw7DsbND7Wg8dk=",
"owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver",
"rev": "1bcfcf786bc289ca1bd2c9d29d6f02d9141b1da3",
"rev": "24128c3052090311688b09a400aa408ba61c6ee5",
"type": "gitlab"
},
"original": {
@ -84,13 +85,28 @@
"type": "indirect"
}
},
"nixpkgs-git": {
"nixpkgs-23_05": {
"locked": {
"lastModified": 1686091955,
"narHash": "sha256-tsKpHCtSbPw0A1eQn9FCGWZGbHb682lGwd3+HHlJvSo=",
"lastModified": 1684782344,
"narHash": "sha256-SHN8hPYYSX0thDrMLMWPWYulK3YFgASOrCsIL3AJ78g=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a4b903646ce5f446877662a851ab1cc206b4d708",
"rev": "8966c43feba2c701ed624302b6a935f97bcbdf88",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-23.05",
"type": "indirect"
}
},
"nixpkgs-git": {
"locked": {
"lastModified": 1687787003,
"narHash": "sha256-xGUdxBgnhmZOp1PeTmFzTIlcVCrLfgg9OW3bCeGb9JQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "be10d3e74bde445af511a399d082dc7dc5c1c89a",
"type": "github"
},
"original": {
@ -101,11 +117,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1685883127,
"narHash": "sha256-zPDaPNrAtBnO24rNqjHLINHsqTdRbgWy1c/TL3EdwlM=",
"lastModified": 1687596132,
"narHash": "sha256-snkoTnUJQICNvg7b+DfxPLnIen6FIucM95niW95vTJI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d4a9ff82fc18723219b60c66fb2ccb0734c460eb",
"rev": "9dbd51e1f1ed01893caffb7fe25c422cb10b8282",
"type": "github"
},
"original": {
@ -117,27 +133,27 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1685758009,
"narHash": "sha256-IT4Z5WGhafrq+xbDTyuKrRPRQ1f+kVOtE+4JU1CHFeo=",
"lastModified": 1687031877,
"narHash": "sha256-yMFcVeI+kZ6KD2QBrFPNsvBrLq2Gt//D0baHByMrjFY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "eaf03591711b46d21abc7082a8ebee4681f9dbeb",
"rev": "e2e2059d19668dab1744301b8b0e821e3aae9c99",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "release-22.11",
"ref": "release-23.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1685931219,
"narHash": "sha256-8EWeOZ6LKQfgAjB/USffUSELPRjw88A+xTcXnOUvO5M=",
"lastModified": 1687681650,
"narHash": "sha256-M2If+gRcfpmaJy/XbfSsRzLlPpoU4nr0NHnKKl50fd8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7409480d5c8584a1a83c422530419efe4afb0d19",
"rev": "1c9db9710cb23d60570ad4d7ab829c2d34403de3",
"type": "github"
},
"original": {
@ -149,11 +165,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1685931219,
"narHash": "sha256-8EWeOZ6LKQfgAjB/USffUSELPRjw88A+xTcXnOUvO5M=",
"lastModified": 1687681650,
"narHash": "sha256-M2If+gRcfpmaJy/XbfSsRzLlPpoU4nr0NHnKKl50fd8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7409480d5c8584a1a83c422530419efe4afb0d19",
"rev": "1c9db9710cb23d60570ad4d7ab829c2d34403de3",
"type": "github"
},
"original": {
@ -181,11 +197,11 @@
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
"lastModified": 1685848844,
"narHash": "sha256-Iury+/SVbAwLES76QJSiKFiQDzmf/8Hsq8j54WF2qyw=",
"lastModified": 1687398569,
"narHash": "sha256-e/umuIKFcFtZtWeX369Hbdt9r+GQ48moDmlTcyHWL28=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "a522e12ee35e50fa7d902a164a9796e420e6e75b",
"rev": "2ff6973350682f8d16371f8c071a304b8067f192",
"type": "github"
},
"original": {