mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
change eleakxir configuration
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -1,12 +1,26 @@
|
|||||||
{config, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
users.groups.eleakxir = {};
|
||||||
|
users.users.hadi.extraGroups = ["eleakxir"];
|
||||||
|
|
||||||
services.eleakxir = {
|
services.eleakxir = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 9198;
|
port = 9198;
|
||||||
folders = ["/var/lib/eleakxir/leaks/"];
|
user = "eleakxir";
|
||||||
|
group = "eleakxir";
|
||||||
|
folders = ["/var/lib/eleakxir/leaks/" "/mnt/data/clean-leak/"];
|
||||||
debug = true;
|
debug = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nginx.virtualHosts."eleakxir.hadi.diy" = {
|
environment.systemPackages = [
|
||||||
|
inputs.eleakxir.packages.${pkgs.system}.leak-utils
|
||||||
|
];
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."eleakxir-back.hadi.diy" = {
|
||||||
useACMEHost = "hadi.diy";
|
useACMEHost = "hadi.diy";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user