2021-12-21 15:26:21 +00:00
|
|
|
{ home-manager, nixpkgs, tree, ... }@inputs:
|
|
|
|
let
|
2021-12-20 23:48:26 +00:00
|
|
|
defaultModules = [
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
tree.impure.profiles.base
|
|
|
|
];
|
|
|
|
defaultSpecialArgs = {
|
|
|
|
tree = tree.impure;
|
|
|
|
pureTree = tree.pure;
|
|
|
|
inherit inputs;
|
|
|
|
};
|
2021-12-21 15:26:21 +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";
|
|
|
|
modules = defaultModules ++ [
|
2021-12-21 13:29:59 +00:00
|
|
|
./lappy.nix
|
2021-12-20 23:48:26 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|