From 8a8f1ec6da2d9360b80a4ddba2dc9e48aecb2de2 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 22 Mar 2021 22:38:59 +0100 Subject: [PATCH] flake.nix: libify --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 6e64bac..de5dcf8 100644 --- a/flake.nix +++ b/flake.nix @@ -13,10 +13,11 @@ forAllSystems = nixpkgs.lib.genAttrs systems; nixosConfig = name: - nixpkgs.lib.nixosSystem { + self.lib.nixosSystem { inherit system; modules = [ self.nixosModule ]; specialArgs.hostName = name; + specialArgs.lib = self.lib; }; in {