applied nixfmt (new version)
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
{ lib, config, proxyReverse, ... }: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
proxyReverse,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.my.servers.kavita.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.servers.kavita.enable {
|
||||
sops.secrets.kavita-token = {
|
||||
@@ -15,8 +21,7 @@
|
||||
enable = true;
|
||||
tokenKeyFile = config.sops.secrets.kavita-token.path;
|
||||
};
|
||||
nginx.virtualHosts."library.${config.my.domain}" =
|
||||
proxyReverse config.services.kavita.port // { };
|
||||
nginx.virtualHosts."library.${config.my.domain}" = proxyReverse config.services.kavita.port // { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user