confix/hosts/default.nix

29 lines
763 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 = [
../nixos/all.nix
../nixos/cli.nix
../nixos/gui.nix
../nixos/gaming.nix
2023-07-31 00:21:32 -04:00
./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-manager/all.nix
../home-manager/cli.nix
../home-manager/gui.nix
2023-07-31 00:21:32 -04:00
./buckwheat/home.nix
];
};
}
];
};
}