aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/ga/gallery/module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/ga/gallery/module.nix')
-rw-r--r--modules/by-name/ga/gallery/module.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/by-name/ga/gallery/module.nix b/modules/by-name/ga/gallery/module.nix
deleted file mode 100644
index a5237e6..0000000
--- a/modules/by-name/ga/gallery/module.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- config,
- lib,
- ...
-}: let
- cfg = config.sils.gallery;
-in {
- options.sils.gallery = {
- enable = lib.mkEnableOption "a stateful static gallery site";
- domain = lib.mkOption {
- type = lib.types.str;
- };
- };
- config = lib.mkIf cfg.enable {
- vhack.nginx.enable = true;
- services.nginx.virtualHosts."${cfg.domain}" = {
- forceSSL = true;
- enableACME = true;
- root = "/srv/${cfg.domain}";
- };
- };
-}