system/hosts/default.nix

55 lines
903 B
Nix

{ ... } @ inputs:
let
hardware = inputs.hardware.nixosModules;
inherit (inputs.flake-utils.lib.system) x86_64-linux x86_64-darwin;
in
{
home = {
system = x86_64-linux;
extraModules = [
hardware.common-gpu-amd
../modules/machine.nix
./networking.secret.nix
];
};
asus-gl553vd = {
system = x86_64-linux;
extraModules = [
hardware.common-cpu-intel
../modules/machine.nix
./networking.secret.nix
];
};
macbook-pro = {
system = x86_64-darwin;
extraModules = [
# ./networking.secret.nix
];
};
amstel = {
system = x86_64-linux;
extraModules = [
../modules/vps.nix
];
targetHost = (import ./amstel/data.secret.nix).addr;
};
tatos = {
system = x86_64-linux;
extraModules = [
../modules/vps.nix
];
targetHost = (import ./tatos/data.secret.nix).addr;
};
}