summaryrefslogtreecommitdiff
path: root/flake.nix
blob: 87b4b6845040d10f65034a1f71a6b99c743777a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  description = "";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
    mobile-nixos = {
      url = "github:mobile-nixos/mobile-nixos";
      flake = false;
    };
    blender-bin = {
      url = "github:edolstra/nix-warez?dir=blender";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = inputs@{ self, ... }: {
    nixosConfigurations =
      import ./hosts {
        inherit inputs;
      };
    carrot-img =
      self.nixosConfigurations.
        carrot.config.mobile.
        outputs.u-boot.disk-image;
    sprout-iso =
      self.nixosConfigurations.
        sprout.config.system.build.isoImage;
  };
}