liminix/modules
Daniel Barlow 635590d37a implement log shipping config
to use this, you need config like for example

+  logging.shipping = {
+    enable = true;
+    service = longrun {
+      name = "ship-logs";
+      run = let path = lib.makeBinPath (with pkgs; [ s6 s6-networking s6 execline ]);
+            in ''
+        PATH=${path}:$PATH
+        s6-ipcserver -1 ${config.logging.shipping.socket} \
+        s6-tcpclient 10.0.2.2 19612 \
+        fdmove -c 1 7 cat
+      '';
+    };
+  };

but I think we can reduce the noise a bit if we use an s6-rc pipeline
with an s6-ipcserver on one side and and a (whatever the user wants)
on the other
2024-09-18 22:14:34 +01:00
..
arch remove dead code (run deadnix) 2024-06-29 22:59:27 +01:00
bridge finish moving pkgs.linimix.callService to config.system 2024-07-15 19:00:08 +01:00
dhcp6c v:address is nil if missing, but code expects an array 2024-07-27 17:40:32 +01:00
dnsmasq remove redundant sourcing of ${serviceFns} 2024-08-28 21:28:27 +01:00
firewall finish moving pkgs.linimix.callService to config.system 2024-07-15 19:00:08 +01:00
health-check add health check service and example that uses it 2024-07-30 22:37:43 +01:00
hostapd finish converting outputRef to lambda 2024-08-30 20:46:48 +01:00
ifwait rename isTrigger to restart-on-upgrade 2024-06-16 12:58:06 +01:00
kernel remove dead code (run deadnix) 2024-06-29 22:59:27 +01:00
mount rename service-trigger rule to match service name 2024-07-28 22:35:37 +01:00
network remove redundant sourcing of ${serviceFns} 2024-08-28 21:28:27 +01:00
ntp finish moving pkgs.linimix.callService to config.system 2024-07-15 19:00:08 +01:00
outputs fix most doc warnings 2024-07-10 23:36:24 +01:00
ppp unbreak pppoe ci job 2024-09-06 00:33:30 +01:00
profiles remove redundant sourcing of ${serviceFns} 2024-08-28 21:28:27 +01:00
round-robin create a module for round-robin 2024-07-15 22:37:37 +01:00
s6 implement log shipping config 2024-09-18 22:14:34 +01:00
schnapps remove dead code (run deadnix) 2024-06-29 22:59:27 +01:00
secrets unbreak pppoe ci job 2024-09-06 00:33:30 +01:00
ssh sshd can use outputRef for authorized_keys 2024-08-25 16:35:50 +01:00
uevent-rule rename service-trigger rule to match service name 2024-07-28 22:35:37 +01:00
vlan finish moving pkgs.linimix.callService to config.system 2024-07-15 19:00:08 +01:00
watchdog finish moving pkgs.linimix.callService to config.system 2024-07-15 19:00:08 +01:00
wwan rename service-trigger rule to match service name 2024-07-28 22:35:37 +01:00
zyxel-dual-image finish moving pkgs.linimix.callService to config.system 2024-07-15 19:00:08 +01:00
all-modules.nix alphabetize list in all-modules 2024-04-28 12:42:47 +01:00
base.nix cleanup whitespace and commas 2024-06-30 17:16:28 +01:00
busybox.nix cleanup whitespace and commas 2024-06-30 17:16:28 +01:00
hardware.nix cleanup whitespace and commas 2024-06-30 17:16:28 +01:00
hostname.nix describe hostname option 2023-08-16 22:26:40 +01:00
mdevd.nix devout needs a longer startup timeout 2024-08-21 23:09:11 +01:00
outputs.nix cleanup whitespace and commas 2024-06-30 17:16:28 +01:00
ramdisk.nix cleanup whitespace and commas 2024-06-30 17:16:28 +01:00
squashfs.nix cleanup whitespace and commas 2024-06-30 17:16:28 +01:00
usb.nix cleanup whitespace and commas 2024-06-30 17:16:28 +01:00
users.nix cleanup whitespace and commas 2024-06-30 17:16:28 +01:00
wlan.nix cleanup whitespace and commas 2024-06-30 17:16:28 +01:00