diff --git a/flake.nix b/flake.nix
index 3c6d2fc..27e92ac 100644
--- a/flake.nix
+++ b/flake.nix
@@ -103,7 +103,8 @@
 
         flake.darwinConfigurations =
           let
-            inherit (self.lib) darwinSystem;
+            darwinSystem = args:
+              inputs.nix-darwin.lib.darwinSystem ({ specialArgs = { inherit inputs; }; } // args);
           in
           {
             darwin01 = darwinSystem {
@@ -122,7 +123,8 @@
 
         flake.nixosConfigurations =
           let
-            inherit (self.lib) nixosSystem;
+            nixosSystem = args:
+              inputs.nixpkgs.lib.nixosSystem ({ specialArgs = { inherit inputs; }; } // args);
           in
           {
             build01 = nixosSystem {
@@ -172,10 +174,5 @@
           remote-builder = ./modules/nixos/remote-builder.nix;
           watch-store = ./modules/nixos/watch-store.nix;
         };
-
-        flake.lib.darwinSystem = args:
-          inputs.nix-darwin.lib.darwinSystem ({ specialArgs = { inherit inputs; }; } // args);
-        flake.lib.nixosSystem = args:
-          inputs.nixpkgs.lib.nixosSystem ({ specialArgs = { inherit inputs; }; } // args);
       };
 }