nixfiles/hosts/default.nix

22 lines
422 B
Nix
Raw Normal View History

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
{
lappy = nixpkgs.lib.nixosSystem {
2021-12-20 23:48:26 +00:00
specialArgs = defaultSpecialArgs;
system = "x86_64-linux";
modules = defaultModules ++ [
./lappy.nix
2021-12-20 23:48:26 +00:00
];
};
}