diff --git a/flake.nix b/flake.nix index ed825b5..96482fd 100644 --- a/flake.nix +++ b/flake.nix @@ -10,8 +10,8 @@ home-manager.url = "github:nix-community/home-manager/release-22.05"; }; - outputs = { self, nixpkgs, mobile-nixos, home-manager }: { - pinephone-img = (nixpkgs.lib.nixosSystem { + outputs = { self, nixpkgs, mobile-nixos, home-manager }: rec { + nixosConfigurations.pinephone = (nixpkgs.lib.nixosSystem { system = "aarch64-linux"; specialArgs = { inherit home-manager; }; modules = [ @@ -20,6 +20,7 @@ }) ./modules/default.nix ]; - }).config.mobile.outputs.u-boot.disk-image; + }); + pinephone-img = nixosConfigurations.pinephone.config.mobile.outputs.u-boot.disk-image; }; }