From b5bcdf72cbc998550bf55af1842fe65f8c9ef0bf Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 2 Mar 2025 15:18:43 +0100 Subject: Revert "Switch back to flakes" This reverts commit c0384c43821474d28af1d9696ceb473a0d769292. --- system/settings/configuration/nix.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'system/settings/configuration') diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix index 5a9b4996..48c6b4ef 100644 --- a/system/settings/configuration/nix.nix +++ b/system/settings/configuration/nix.nix @@ -3,6 +3,7 @@ , lib , ... }: { + imports = [ ../pin.nix ]; nix = { package = pkgs.lix; settings = { @@ -30,16 +31,5 @@ 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; - }; - }; }; } -- cgit 1.4.1