all repos — nixfiles @ 93dba07db6a1db2d7d84adf56da0f9cc2d31bc81

System and user configuration, managed by nix and home-manager

Switch back to flakes (again) This reverts commit b5bcdf72cbc998550bf55af1842fe65f8c9ef0bf.

Alan Pearce
commit

93dba07db6a1db2d7d84adf56da0f9cc2d31bc81

parent

0996780254c9d819f0a8be3a63b643ad11dc66be

1 file changed, 11 insertions(+), 1 deletion(-)

changed files
M system/settings/configuration/nix.nixsystem/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; + }; + }; }; }