nix/hosts/default.nix
2024-08-29 23:13:04 +02:00

28 lines
664 B
Nix

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