mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-10 16:08:45 +01:00
a629f92827
This was causing a lot of issues unfortunately presumably due to things not working with the aarch64 PinePhone system. Random errors like "expected string 'D'" were common and I'd rather use a separate flake to make things easier to debug and keep evaluation times to a minimum.
30 lines
624 B
Nix
30 lines
624 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
mobile-nixos = {
|
|
url = "github:NixOS/mobile-nixos";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, mobile-nixos } @ attrs:
|
|
{
|
|
nixosConfigurations = {
|
|
mobile-nixos = nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
specialArgs = attrs;
|
|
modules = [
|
|
(import "${mobile-nixos}/lib/configuration.nix" {
|
|
device = "pine64-pinephone";
|
|
})
|
|
|
|
./configuration.nix
|
|
./hardware-configuration.nix
|
|
./phosh.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|