nixos/hive.nix

32 lines
741 B
Nix
Raw Normal View History

2024-12-27 16:04:04 +04:00
{ inputs, outputs }:
let
inherit (inputs) nixpkgs;
inherit (inputs.nixpkgs) lib;
in {
meta = {
nixpkgs = nixpkgs.legacyPackages.x86_64-linux;
2024-12-27 16:04:19 +04:00
specialArgs = { inherit inputs outputs; };
2024-12-27 16:04:04 +04:00
};
sakotop = { names, nodes, ... }: {
deployment = {
allowLocalDeployment = true;
targetHost = null;
};
imports = [ ./default.nix ./hosts/sakotop/configuration.nix ];
};
2024-12-30 19:12:03 +04:00
2025-01-02 22:47:20 +04:00
sakopc = { names, nodes, ... }: {
deployment = {
allowLocalDeployment = true;
targetHost = null;
};
imports = [ ./default.nix ./hosts/sakopc/configuration.nix ];
};
2024-12-30 19:12:03 +04:00
sakoserver = { names, nodes, ... }: {
deployment = { tags = [ "server" ]; };
imports = [ ./hosts/sakoserver/configuration.nix ];
};
2024-12-27 16:04:04 +04:00
}