24 lines
609 B
Nix
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
|
||
|
];
|
||
|
};
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
}
|