29 lines
812 B
Nix
29 lines
812 B
Nix
{ self, home-manager, mobile-nixos, nixpkgs, tree, ... }@inputs:
|
|
let
|
|
defaultModules =
|
|
[ home-manager.nixosModules.home-manager tree.impure.profiles.base ];
|
|
defaultSpecialArgs = {
|
|
tree = tree.impure;
|
|
pureTree = tree.pure;
|
|
inherit inputs;
|
|
};
|
|
in {
|
|
lappy = nixpkgs.lib.nixosSystem {
|
|
specialArgs = defaultSpecialArgs;
|
|
system = "x86_64-linux";
|
|
modules = defaultModules ++ [ ./lappy/lappy.nix ];
|
|
};
|
|
pinetab_modules = defaultModules ++ [ ./pinetab/pinetab.nix ];
|
|
pinetab_modules_inc_device = self.pinetab_modules ++ [
|
|
(import "${mobile-nixos}/lib/configuration.nix" {
|
|
device = "pine64-pinetab";
|
|
})
|
|
];
|
|
|
|
pinetab = nixpkgs.lib.nixosSystem {
|
|
specialArgs = defaultSpecialArgs;
|
|
system = "aarch64-linux";
|
|
modules = self.pinetab_modules_inc_device;
|
|
};
|
|
}
|