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";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user