2021-12-21 15:26:21 +00:00
|
|
|
{ home-manager, nixpkgs, tree, ... }@inputs:
|
|
|
|
let
|
2021-12-26 14:07:09 +00:00
|
|
|
defaultModules =
|
|
|
|
[ home-manager.nixosModules.home-manager tree.impure.profiles.base ];
|
2021-12-20 23:48:26 +00:00
|
|
|
defaultSpecialArgs = {
|
|
|
|
tree = tree.impure;
|
|
|
|
pureTree = tree.pure;
|
|
|
|
inherit inputs;
|
|
|
|
};
|
2021-12-26 14:07:09 +00:00
|
|
|
in {
|
2021-12-21 13:29:59 +00:00
|
|
|
lappy = nixpkgs.lib.nixosSystem {
|
2021-12-20 23:48:26 +00:00
|
|
|
specialArgs = defaultSpecialArgs;
|
|
|
|
system = "x86_64-linux";
|
2021-12-26 14:07:09 +00:00
|
|
|
modules = defaultModules ++ [ ./lappy.nix ];
|
2021-12-20 23:48:26 +00:00
|
|
|
};
|
|
|
|
}
|