Fix pkgs ref in home-manager / NixOS registry.json

This commit is contained in:
Jack O'Sullivan 2022-06-17 22:48:47 +01:00
parent c8e5859eb5
commit f744f77732
2 changed files with 20 additions and 9 deletions

View File

@ -47,15 +47,6 @@ in
nix = {
package = pkgs.nix;
registry = {
pkgs = {
to = {
type = "path";
path = toString pkgs.path;
};
exact = true;
};
};
settings = {
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
max-jobs = mkDefault "auto";
@ -227,6 +218,17 @@ in
allowUnfree = true;
};
};
nix = {
registry = {
pkgs = {
to = {
type = "path";
path = "${pkgs.path}";
};
exact = true;
};
};
};
})
(mkIf config.my.isStandalone {
my = {

View File

@ -49,6 +49,15 @@ in
trusted-users = [ "@wheel" ];
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
};
registry = {
pkgs = {
to = {
type = "path";
path = "${pkgs.path}";
};
exact = true;
};
};
gc = {
options = mkDefault "--max-freed $((8 * 1024**3))";
automatic = mkDefault true;