nix/hosts/default.nix

28 lines
725 B
Nix

{ inputs, ... }:
{
"desktop" = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; hostname = "desktop"; };
modules = [
./desktop
../modules
inputs.home-manager.nixosModules.home-manager
];
};
"laptop" = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; hostname = "laptop"; };
modules = [
./laptop
../modules
inputs.home-manager.nixosModules.home-manager
];
};
"rpi" = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; hostname = "rpi"; };
modules = [
./rpi
../modules
inputs.home-manager.nixosModules.home-manager
inputs.nixos-hardware.nixosModules.raspberry-pi-4
];
};
}