feat: reorganize with remote
This commit is contained in:
parent
a74e5753fa
commit
dc7b8cbadd
28 changed files with 622 additions and 3024 deletions
|
|
@ -1,9 +1,9 @@
|
|||
self:
|
||||
pkg:
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.noisebell-cache;
|
||||
bin = "${self.packages.x86_64-linux.default}/bin/noisebell-cache";
|
||||
bin = "${pkg}/bin/noisebell-cache";
|
||||
in
|
||||
{
|
||||
options.services.noisebell-cache = {
|
||||
|
|
@ -91,6 +91,7 @@ in
|
|||
users.groups.noisebell-cache = {};
|
||||
|
||||
services.caddy.virtualHosts.${cfg.domain}.extraConfig = ''
|
||||
redir / https://git.extremist.software/jet/noisebell 302
|
||||
reverse_proxy localhost:${toString cfg.port}
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue