add a pinephone
target. post-installation you can use nixos-rebuild --flake "./#pinephone" switch
This commit is contained in:
@@ -10,8 +10,8 @@
|
|||||||
home-manager.url = "github:nix-community/home-manager/release-22.05";
|
home-manager.url = "github:nix-community/home-manager/release-22.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, mobile-nixos, home-manager }: {
|
outputs = { self, nixpkgs, mobile-nixos, home-manager }: rec {
|
||||||
pinephone-img = (nixpkgs.lib.nixosSystem {
|
nixosConfigurations.pinephone = (nixpkgs.lib.nixosSystem {
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
specialArgs = { inherit home-manager; };
|
specialArgs = { inherit home-manager; };
|
||||||
modules = [
|
modules = [
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
})
|
})
|
||||||
./modules/default.nix
|
./modules/default.nix
|
||||||
];
|
];
|
||||||
}).config.mobile.outputs.u-boot.disk-image;
|
});
|
||||||
|
pinephone-img = nixosConfigurations.pinephone.config.mobile.outputs.u-boot.disk-image;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user