flake.nix: libify

This commit is contained in:
Astro 2021-03-22 22:38:59 +01:00
parent c04ca49755
commit 8a8f1ec6da
1 changed files with 2 additions and 1 deletions

View File

@ -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
{