From 97c73ab0ed2b2b9f025c714dd30d96efbbfaa8c5 Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 14 Mar 2024 21:45:02 +0100 Subject: [PATCH] refactor: topology aggregators groundwork --- modules/default.nix | 2 +- topology/enrichment/systemd.nix | 0 topology/enrichment/wireguard.nix | 0 topology/nixos/aggregators/disko.nix | 2 ++ topology/nixos/aggregators/network-interfaces.nix | 2 ++ topology/nixos/aggregators/node.nix | 2 ++ topology/nixos/aggregators/systemd.nix | 2 ++ topology/nixos/aggregators/wireguard.nix | 2 ++ topology/{ => nixos}/module.nix | 0 9 files changed, 11 insertions(+), 1 deletion(-) delete mode 100644 topology/enrichment/systemd.nix delete mode 100644 topology/enrichment/wireguard.nix create mode 100644 topology/nixos/aggregators/disko.nix create mode 100644 topology/nixos/aggregators/network-interfaces.nix create mode 100644 topology/nixos/aggregators/node.nix create mode 100644 topology/nixos/aggregators/systemd.nix create mode 100644 topology/nixos/aggregators/wireguard.nix rename topology/{ => nixos}/module.nix (100%) diff --git a/modules/default.nix b/modules/default.nix index 7af8157..22eb8ec 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -38,7 +38,7 @@ ./secrets.nix ./telegraf.nix - ../topology/module.nix + ../topology/nixos/module.nix ]; nixpkgs.overlays = [ diff --git a/topology/enrichment/systemd.nix b/topology/enrichment/systemd.nix deleted file mode 100644 index e69de29..0000000 diff --git a/topology/enrichment/wireguard.nix b/topology/enrichment/wireguard.nix deleted file mode 100644 index e69de29..0000000 diff --git a/topology/nixos/aggregators/disko.nix b/topology/nixos/aggregators/disko.nix new file mode 100644 index 0000000..2c63c08 --- /dev/null +++ b/topology/nixos/aggregators/disko.nix @@ -0,0 +1,2 @@ +{ +} diff --git a/topology/nixos/aggregators/network-interfaces.nix b/topology/nixos/aggregators/network-interfaces.nix new file mode 100644 index 0000000..2c63c08 --- /dev/null +++ b/topology/nixos/aggregators/network-interfaces.nix @@ -0,0 +1,2 @@ +{ +} diff --git a/topology/nixos/aggregators/node.nix b/topology/nixos/aggregators/node.nix new file mode 100644 index 0000000..2c63c08 --- /dev/null +++ b/topology/nixos/aggregators/node.nix @@ -0,0 +1,2 @@ +{ +} diff --git a/topology/nixos/aggregators/systemd.nix b/topology/nixos/aggregators/systemd.nix new file mode 100644 index 0000000..2c63c08 --- /dev/null +++ b/topology/nixos/aggregators/systemd.nix @@ -0,0 +1,2 @@ +{ +} diff --git a/topology/nixos/aggregators/wireguard.nix b/topology/nixos/aggregators/wireguard.nix new file mode 100644 index 0000000..2c63c08 --- /dev/null +++ b/topology/nixos/aggregators/wireguard.nix @@ -0,0 +1,2 @@ +{ +} diff --git a/topology/module.nix b/topology/nixos/module.nix similarity index 100% rename from topology/module.nix rename to topology/nixos/module.nix