66 lines
1.8 KiB
Nix
66 lines
1.8 KiB
Nix
# Hosts default.nix
|
|
{ lib, inputs, system, home-manager, user, ... }:
|
|
{
|
|
buckwheat = lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit user inputs; };
|
|
modules = [
|
|
../nixos/wayland.nix
|
|
../nixos/gaming.nix
|
|
../nixos/office.nix
|
|
./buckwheat/configuration.nix
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.extraSpecialArgs = { inherit user inputs; };
|
|
home-manager.users.${user.name} = {
|
|
imports = [
|
|
../home-manager/wayland.nix
|
|
./buckwheat/home.nix
|
|
];
|
|
};
|
|
}
|
|
];
|
|
};
|
|
fireweed = lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit user inputs; };
|
|
modules = [
|
|
../nixos/xorg.nix
|
|
../nixos/office.nix
|
|
../nixos/pentest.nix
|
|
./fireweed/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/xorg.nix
|
|
./fireweed/home.nix
|
|
];
|
|
};
|
|
}
|
|
];
|
|
};
|
|
vm = lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit user inputs; };
|
|
modules = [
|
|
../nixos/cli.nix
|
|
./vm/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/cli.nix
|
|
./vm/home.nix
|
|
];
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|