Fix pkgs ref in home-manager / NixOS registry.json
This commit is contained in:
@@ -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 = {
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user