nixfiles/hosts/default.nix

23 lines
623 B
Nix
Raw Normal View History

2021-12-28 15:09:51 +00:00
{ self, home-manager, nixpkgs, tree, ... }@inputs:
2021-12-21 15:26:21 +00:00
let
2021-12-26 14:07:09 +00:00
defaultModules =
2021-12-28 17:47:07 +00:00
[ home-manager.nixosModules.home-manager tree.impure.modules.nixos 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 {
lappy = nixpkgs.lib.nixosSystem {
2021-12-20 23:48:26 +00:00
specialArgs = defaultSpecialArgs;
system = "x86_64-linux";
2021-12-27 09:46:15 +00:00
modules = defaultModules ++ [ ./lappy/lappy.nix ];
2021-12-20 23:48:26 +00:00
};
2021-12-27 14:26:22 +00:00
2021-12-28 15:09:51 +00:00
hetzner-vm = nixpkgs.lib.nixosSystem {
2021-12-27 14:26:22 +00:00
specialArgs = defaultSpecialArgs;
2021-12-28 15:09:51 +00:00
system = "x86_64-linux";
modules = defaultModules ++ [ ./hetzner-vm/hetzner-vm.nix ];
2021-12-27 14:26:22 +00:00
};
2021-12-20 23:48:26 +00:00
}