aboutsummaryrefslogtreecommitdiff
path: root/modules/containers/lubelogger
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-16 19:57:13 -0500
committertdback <tyler@tdback.net>2025-01-16 19:57:13 -0500
commit88017f5a874478dd82f306a5df88c38a8d06fcb6 (patch)
tree8806c58c4f21bb6a56d8530df8a93b256d44b4f3 /modules/containers/lubelogger
parent01d012473d4311d4f4e5a0831d912bc4b8c61639 (diff)
fix: format flake with `nixfmt-rfc-style`
Diffstat (limited to 'modules/containers/lubelogger')
-rw-r--r--modules/containers/lubelogger/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/containers/lubelogger/default.nix b/modules/containers/lubelogger/default.nix
index 37155dc..6ff2b0d 100644
--- a/modules/containers/lubelogger/default.nix
+++ b/modules/containers/lubelogger/default.nix
@@ -1,16 +1,15 @@
-{ lib, ... }:
+{ ... }:
let
- inherit (lib.lists) singleton;
directory = "/opt/lubelogger";
port = "8889";
in
{
- systemd.tmpfiles.rules = builtins.map (x: "d ${x} 0755 share share - -") (singleton directory);
+ systemd.tmpfiles.rules = builtins.map (x: "d ${x} 0755 share share - -") [ directory ];
virtualisation.oci-containers.containers.lubelogger = {
image = "ghcr.io/hargata/lubelogger:latest";
autoStart = true;
- ports = singleton "${port}:8080";
+ ports = [ "${port}:8080" ];
volumes = [
"${directory}/config:/App/config"
"${directory}/data:/App/data"