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 = [
|
2023-09-13 22:34:02 -04:00
|
|
|
../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 = [
|
2023-08-02 23:20:31 -04:00
|
|
|
../home-manager/all.nix
|
|
|
|
../home-manager/cli.nix
|
|
|
|
../home-manager/gui.nix
|
2023-07-31 00:21:32 -04:00
|
|
|
./buckwheat/home.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|