1
0
Fork 0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2025-01-09 18:39:47 +01:00

Fix nixosModule

The `nixosModule` attribute is not system specific, so it should itself
be a module instead of `nixosModule.aarch64-linux`, etc. being modules.
This commit is contained in:
Jake Waksbaum 2020-09-09 21:41:28 -04:00
parent 5c5a0da07a
commit 89605b0f3e

View file

@ -9,6 +9,7 @@
outputs = { self, nixpkgs, flake-utils }: outputs = { self, nixpkgs, flake-utils }:
{ {
overlay = final: prev: import "${self}/overlay.nix" final prev; overlay = final: prev: import "${self}/overlay.nix" final prev;
nixosModule = import "${self}/pinebook_pro.nix";
} // flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] ( } // flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] (
system: system:
let let
@ -50,8 +51,6 @@
) )
]; ];
}; };
nixosModule = import "${self}/pinebook_pro.nix";
} }
); );
} }