Add a proper registry
diff --git a/flake.nix b/flake.nix
index 5836101..a1a0890 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,6 +2,10 @@
description = "Minion3665's NixFiles (since 2022-03-24)";
inputs = {
+ registry = {
+ url = "github:nixos/flake-registry";
+ flake = false;
+ };
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-22.05";
diff --git a/src/system.nix b/src/system.nix
index 960b657..0461863 100644
--- a/src/system.nix
+++ b/src/system.nix
@@ -1,4 +1,4 @@
-{ pkgs, pkgs-unstable, nurpkgs, lib, modulesPath, config, ... }:
+{ pkgs, pkgs-unstable, nurpkgs, registry, lib, modulesPath, config, ... }:
let
nixScripts = import ./utils/nixFilesIn.nix lib ./nix/system;
nixApps = import ./utils/nixFilesIn.nix lib ./apps/system;
@@ -15,7 +15,7 @@
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
keep-outputs = true;
- flake-registry = ./flake-registry.json;
+ flake-registry = "${registry}/flake-registry.json";
};
};