confix/hosts/default.nix

24 lines
609 B
Nix
Raw Normal View History

2023-07-31 00:21:32 -04:00
# 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
];
};
}
];
};
}