about summary refs log tree commit diff
path: root/darwinConfigurations/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--darwinConfigurations/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/darwinConfigurations/default.nix b/darwinConfigurations/default.nix
index 612c8b0..b8f1498 100644
--- a/darwinConfigurations/default.nix
+++ b/darwinConfigurations/default.nix
@@ -1,8 +1,5 @@
-{
-  inputs,
-  lib,
-}:
-with lib; let
+inputs:
+with inputs.self.lib; let
   mkConfiguration = name: {
     modules ? [],
     configuration ? ./${name},
@@ -21,7 +18,8 @@ with lib; let
         ++ optional (configuration != null) (import configuration);
       specialArgs =
         {
-          inherit inputs lib this;
+          inherit inputs this;
+          inherit (inputs.self) lib;
         }
         // extraSpecialArgs;
     });

Consider giving Nix/NixOS a try! <3