From 5565624ac99215ad3c790dcb2f311c100936ee0d Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Sat, 6 Apr 2024 16:04:50 +0200 Subject: [PATCH] bekkalokk: restructure website files --- hosts/bekkalokk/configuration.nix | 2 +- .../bekkalokk/services/{website.nix => website/default.nix} | 5 +++++ hosts/bekkalokk/services/website/fetch-gallery.nix | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) rename hosts/bekkalokk/services/{website.nix => website/default.nix} (95%) create mode 100644 hosts/bekkalokk/services/website/fetch-gallery.nix diff --git a/hosts/bekkalokk/configuration.nix b/hosts/bekkalokk/configuration.nix index 04d2ef2..53871c0 100644 --- a/hosts/bekkalokk/configuration.nix +++ b/hosts/bekkalokk/configuration.nix @@ -9,7 +9,7 @@ #./services/keycloak.nix # TODO: set up authentication for the following: - ./services/website.nix + ./services/website ./services/nginx ./services/gitea/default.nix ./services/kerberos diff --git a/hosts/bekkalokk/services/website.nix b/hosts/bekkalokk/services/website/default.nix similarity index 95% rename from hosts/bekkalokk/services/website.nix rename to hosts/bekkalokk/services/website/default.nix index e2a896e..053a36a 100644 --- a/hosts/bekkalokk/services/website.nix +++ b/hosts/bekkalokk/services/website/default.nix @@ -3,6 +3,11 @@ let format = pkgs.formats.php { }; cfg = config.services.pvv-nettsiden; in { + + imports = [ + ./fetch-gallery.nix + ]; + services.pvv-nettsiden = { enable = true; diff --git a/hosts/bekkalokk/services/website/fetch-gallery.nix b/hosts/bekkalokk/services/website/fetch-gallery.nix new file mode 100644 index 0000000..0271971 --- /dev/null +++ b/hosts/bekkalokk/services/website/fetch-gallery.nix @@ -0,0 +1,5 @@ +{ pkgs, lib, config, ... }: +{ + +} +