about summary refs log tree commit diff
path: root/nixosConfigurations/default.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-16 02:16:22 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-16 02:16:22 +0300
commit576d4d672d37e490bd5f8dfb4397909600ed68db (patch)
tree77cc6edfea50f24048f69bf2c54bc6d6f2117e01 /nixosConfigurations/default.nix
parent2023-11-16 (diff)
2023-11-16
Diffstat (limited to '')
-rw-r--r--nixosConfigurations/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/nixosConfigurations/default.nix b/nixosConfigurations/default.nix
index 2fa32f9..b2e1511 100644
--- a/nixosConfigurations/default.nix
+++ b/nixosConfigurations/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