confix/hosts/default.nix
2023-07-30 21:21:32 -07:00

24 lines
609 B
Nix

# Hosts default.nix
{ lib, inputs, system, home-manager, user, ... }:
{
buckwheat = lib.nixosSystem {
inherit system;
specialArgs = { inherit user inputs; };
modules = [
./configuration.nix
./buckwheat/configuration.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit user; };
home-manager.users.${user.name} = {
imports = [
./home.nix
./buckwheat/home.nix
];
};
}
];
};
}