nix/hosts/default.nix

25 lines
547 B
Nix

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