-{ pkgs, config, ... }:
+{ pkgs, lib, config, ... }:
{
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database servers.
nix.gc.dates = "daily";
nix.gc.options = "--delete-older-than 2d";
+ nix.registry = lib.mkForce { };
# Setting the machine-id avoids to reencrypt all credentials
# when reinstalling NixOS on a new drive.