diff --git a/lib/inventory/example.nix b/lib/inventory/example.nix deleted file mode 100644 index f7a7154ef..000000000 --- a/lib/inventory/example.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ self, ... }: -self.lib.buildClan { - # Name of the clan in the UI, should be unique - meta.name = "Inventory clan"; - - # Should usually point to the directory of flake.nix - directory = self; - - inventory = { - services = { - borgbackup.instance_1 = { - roles.server.machines = [ "backup_server" ]; - roles.client.tags = [ "backup" ]; - }; - }; - }; - - # merged with - machines = { - "backup_server" = { - clan.tags = [ "all" ]; - # ... rest of the machine config - }; - "client_1_machine" = { - clan.tags = [ - "all" - "backup" - ]; - }; - "client_2_machine" = { - clan.tags = [ - "all" - "backup" - ]; - # Name of the machine in the UI - clan.meta.name = "camina"; - }; - }; -} diff --git a/lib/inventory/flake-module.nix b/lib/inventory/flake-module.nix index 74fa9b36c..e356a27d4 100644 --- a/lib/inventory/flake-module.nix +++ b/lib/inventory/flake-module.nix @@ -5,8 +5,6 @@ let ); in { - flake.inventory = import ./example.nix { inherit self; }; - perSystem = { pkgs,