sakura: init justlog

This commit is contained in:
notohh 2023-12-15 08:25:01 -05:00
parent 8b3c6ec6c8
commit 82edffd93f
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 16 additions and 0 deletions

View file

@ -16,6 +16,10 @@
device = "/dev/disk/by-uuid/db3e4722-35a6-44fb-8e4d-a75166b845cb";
fsType = "ext4";
};
fileSystems."/home/notoh/justlog/logs" = {
device = "192.168.1.199:/mnt/Sutoreji/twitchlogs";
fsType = "nfs";
};
swapDevices = [
{device = "/dev/disk/by-uuid/c5afba13-f1af-4e7f-994b-f565c52d92fc";}

View file

@ -9,5 +9,6 @@
./conduit.nix
./tailscale.nix
./searxng.nix
./justlog.nix
];
}

View file

@ -0,0 +1,11 @@
{...}: {
networking.firewall.allowedTCPPorts = [8025];
virtualisation.oci-containers.containers.justlog = {
image = "ghcr.io/gempir/justlog";
ports = ["8025:8025"];
volumes = [
"/home/notoh/justlog/config.json:/etc/justlog.json"
"/home/notoh/justlog/logs:/logs"
];
};
}