Switch back to flakes (again) This reverts commit b5bcdf72cbc998550bf55af1842fe65f8c9ef0bf.
1 file changed, 11 insertions(+), 1 deletion(-)
changed files
M system/settings/configuration/nix.nix → system/settings/configuration/nix.nix
@@ -3,7 +3,6 @@ , pkgs , lib , ... }: { - imports = [ ../pin.nix ]; nix = { package = pkgs.lix; settings = {@@ -29,5 +28,16 @@ gc = { automatic = lib.mkDefault true; options = lib.mkDefault "--delete-older-than 14d"; }; + + registry = + if pkgs.stdenv.isDarwin + then { + nixpkgs.flake = inputs.nixpkgs; + } else { + nixpkgs.to = { + type = "path"; + path = pkgs.path; + }; + }; }; }