nixos-config/nix/topology.nix

26 lines
607 B
Nix
Raw Normal View History

2024-08-30 03:49:18 +02:00
{ inputs, self, ... }:
{
imports = [
#inputs.flake-parts.flakeModules.easyOverlay
inputs.nix-topology.flakeModule
];
# todo : create apps to make live easier
# nix build .#topology.x86_64-linux.config.output
perSystem =
{ system, ... }:
{
#overlayAttrs = inputs.nix-topology.overlays.default;
topology.pkgs = import inputs.nixpkgs {
inherit system;
overlays = [ inputs.nix-topology.overlays.default ];
};
topology.modules = [
{
# Inline module to inform topology of your existing NixOS hosts.
}
];
};
}