aboutsummaryrefslogtreecommitdiffstats
path: root/modules/vhack/ga/gallery/module.nix
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-10-30 15:22:07 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-27 00:27:17 +0100
commit4834ad1ea13358f3f23e0139e3a8a3d1ccb804e2 (patch)
tree60b588b2d979bce6a6d19bd7acc0af05c90f12fd /modules/vhack/ga/gallery/module.nix
parenttreewide: Various fixes (diff)
downloadnixos-server-4834ad1ea13358f3f23e0139e3a8a3d1ccb804e2.zip
modules: Rename back to `by-name`
There is no point in keeping just vhack here.
Diffstat (limited to 'modules/vhack/ga/gallery/module.nix')
-rw-r--r--modules/vhack/ga/gallery/module.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/vhack/ga/gallery/module.nix b/modules/vhack/ga/gallery/module.nix
deleted file mode 100644
index a5237e6..0000000
--- a/modules/vhack/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}";
- };
- };
-}