From 89605b0f3e6a016b9759734c209cc0a2ad5b8f2e Mon Sep 17 00:00:00 2001 From: Jake Waksbaum Date: Wed, 9 Sep 2020 21:41:28 -0400 Subject: [PATCH] Fix nixosModule The `nixosModule` attribute is not system specific, so it should itself be a module instead of `nixosModule.aarch64-linux`, etc. being modules. --- flake.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 5f37106..f2516be 100644 --- a/flake.nix +++ b/flake.nix @@ -9,6 +9,7 @@ outputs = { self, nixpkgs, flake-utils }: { overlay = final: prev: import "${self}/overlay.nix" final prev; + nixosModule = import "${self}/pinebook_pro.nix"; } // flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] ( system: let @@ -50,8 +51,6 @@ ) ]; }; - - nixosModule = import "${self}/pinebook_pro.nix"; } ); }