From 11e51284fd570fb7586451d28f2b1f04b70159b1 Mon Sep 17 00:00:00 2001 From: derped Date: Wed, 28 Jun 2023 09:00:41 +0200 Subject: [PATCH] Remove remote globla registry. --- config/nix.nix | 2 ++ flake.lock | 62 +++++++++++++++++++++++++++++++------------------- 2 files changed, 41 insertions(+), 23 deletions(-) diff --git a/config/nix.nix b/config/nix.nix index 9b0f94f..c693596 100644 --- a/config/nix.nix +++ b/config/nix.nix @@ -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} ''; }; } diff --git a/flake.lock b/flake.lock index dce8dec..1c57b44 100644 --- a/flake.lock +++ b/flake.lock @@ -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": {