From 059a76d9333ded6dd40e05e4c932441a72a35ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Tue, 17 Sep 2024 14:24:23 +0200 Subject: [PATCH] Move VM-specific stuff in a subdirectory --- flake.nix | 17 ++++++++++------- interactive-vm.nix => vm/interactive-vm.nix | 0 mastodon-vm.nix => vm/mastodon-vm.nix | 0 peertube-vm.nix => vm/peertube-vm.nix | 0 pixelfed-vm.nix => vm/pixelfed-vm.nix | 0 5 files changed, 10 insertions(+), 7 deletions(-) rename interactive-vm.nix => vm/interactive-vm.nix (100%) rename mastodon-vm.nix => vm/mastodon-vm.nix (100%) rename peertube-vm.nix => vm/peertube-vm.nix (100%) rename pixelfed-vm.nix => vm/pixelfed-vm.nix (100%) diff --git a/flake.nix b/flake.nix index aeb7dba9..913ea745 100644 --- a/flake.nix +++ b/flake.nix @@ -12,14 +12,17 @@ in { nixosModules = { - interactive-vm = import ./interactive-vm.nix; - mastodon = import ./mastodon.nix; - mastodon-vm = import ./mastodon-vm.nix; - peertube = import ./peertube.nix; - peertube-vm = import ./peertube-vm.nix; - pixelfed = import ./pixelfed.nix; - pixelfed-vm = import ./pixelfed-vm.nix; + ## Fediversity modules garage = import ./garage.nix; + mastodon = import ./mastodon.nix; + peertube = import ./peertube.nix; + pixelfed = import ./pixelfed.nix; + + ## VM-specific modules + interactive-vm = import ./vm/interactive-vm.nix; + mastodon-vm = import ./vm/mastodon-vm.nix; + peertube-vm = import ./vm/peertube-vm.nix; + pixelfed-vm = import ./vm/pixelfed-vm.nix; }; nixosConfigurations = { diff --git a/interactive-vm.nix b/vm/interactive-vm.nix similarity index 100% rename from interactive-vm.nix rename to vm/interactive-vm.nix diff --git a/mastodon-vm.nix b/vm/mastodon-vm.nix similarity index 100% rename from mastodon-vm.nix rename to vm/mastodon-vm.nix diff --git a/peertube-vm.nix b/vm/peertube-vm.nix similarity index 100% rename from peertube-vm.nix rename to vm/peertube-vm.nix diff --git a/pixelfed-vm.nix b/vm/pixelfed-vm.nix similarity index 100% rename from pixelfed-vm.nix rename to vm/pixelfed-vm.nix