nixos/hive.nix
2025-01-02 22:47:20 +04:00

32 lines
741 B
Nix

{ inputs, outputs }:
let
inherit (inputs) nixpkgs;
inherit (inputs.nixpkgs) lib;
in {
meta = {
nixpkgs = nixpkgs.legacyPackages.x86_64-linux;
specialArgs = { inherit inputs outputs; };
};
sakotop = { names, nodes, ... }: {
deployment = {
allowLocalDeployment = true;
targetHost = null;
};
imports = [ ./default.nix ./hosts/sakotop/configuration.nix ];
};
sakopc = { names, nodes, ... }: {
deployment = {
allowLocalDeployment = true;
targetHost = null;
};
imports = [ ./default.nix ./hosts/sakopc/configuration.nix ];
};
sakoserver = { names, nodes, ... }: {
deployment = { tags = [ "server" ]; };
imports = [ ./hosts/sakoserver/configuration.nix ];
};
}