From 2a2ac56cf78cccad11eb30ad20a356b91337f0ac Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 20 Dec 2024 14:06:07 +0100 Subject: refactor(system/services/libreddit): Migrate to `by-name` This also includes a rename into `redlib` because of upstream changes. --- system/services/libreddit/default.nix | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 system/services/libreddit/default.nix (limited to 'system/services/libreddit') diff --git a/system/services/libreddit/default.nix b/system/services/libreddit/default.nix deleted file mode 100644 index f7cc5f8..0000000 --- a/system/services/libreddit/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ - config, - pkgsUnstable, - lib, - ... -}: let - domain = "libreddit.vhack.eu"; -in { - services.libreddit = { - enable = true; - package = pkgsUnstable.redlib; - port = 8080; - address = "127.0.0.1"; - openFirewall = false; - }; - - services.nginx = { - enable = true; - virtualHosts.${domain} = { - locations."/".proxyPass = "http://127.0.0.1:${toString config.services.libreddit.port}"; - - enableACME = lib.mkDefault true; - forceSSL = lib.mkDefault true; - }; - }; -} -- cgit 1.4.1