From fea01b0b2e289bb027cff250901e654f557fa17d Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Tue, 12 Mar 2024 12:11:44 +0100 Subject: [PATCH] courses: move into folder --- flake.nix | 4 +--- modules/{course-management.nix => courses/default.nix} | 1 + modules/{courses-phil.nix => courses/phil.nix} | 0 3 files changed, 2 insertions(+), 3 deletions(-) rename modules/{course-management.nix => courses/default.nix} (98%) rename modules/{courses-phil.nix => courses/phil.nix} (100%) diff --git a/flake.nix b/flake.nix index b995abb..97cf582 100755 --- a/flake.nix +++ b/flake.nix @@ -77,18 +77,16 @@ ./modules/ldap ./modules/mail ./modules/web + ./modules/courses ./modules/nix-serve.nix ./modules/hedgedoc.nix ./modules/padlist.nix ./modules/wiki - #./modules/stream.nix ./modules/nextcloud.nix ./modules/matrix.nix ./modules/mautrix-telegram.nix ./modules/vaultwarden.nix - ./modules/course-management.nix - ./modules/courses-phil.nix ./modules/gitea.nix ./modules/kanboard.nix ./modules/zammad.nix diff --git a/modules/course-management.nix b/modules/courses/default.nix similarity index 98% rename from modules/course-management.nix rename to modules/courses/default.nix index 098d40e..86f4c5a 100644 --- a/modules/course-management.nix +++ b/modules/courses/default.nix @@ -3,6 +3,7 @@ let hostName = "kurse.${config.networking.domain}"; in { + imports = [ ./phil.nix ]; sops.secrets = let inherit (config.services.course-management) user; in diff --git a/modules/courses-phil.nix b/modules/courses/phil.nix similarity index 100% rename from modules/courses-phil.nix rename to modules/courses/phil.nix