Skip to content

facts/ - #810

Merged
booxter merged 28 commits into
masterfrom
facts
Aug 9, 2026
Merged

facts/#810
booxter merged 28 commits into
masterfrom
facts

Conversation

@booxter

@booxter booxter commented Aug 9, 2026

Copy link
Copy Markdown
Owner

No description provided.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Config diffs

Base: 69b6e93a77f0a375f36f6b725b52a1d87401c3a7
Head: 0eaa2f74ebb675260bae42c413fe5963ee80122e
PR head: 066e275626cc36a7725ecbc9c98c2dca3329ec56
Run: https://github.com/booxter/nix/actions/runs/31340458825

Advisory output from nix run .#diff -- --details <machine> <base> <head>.

Major changes

beast (x86_64-linux)
CHANGED
[D-] lm-sensors                         3.6.2-bin, 3.6.2-doc, 3.6.2-man, <unchanged> -> <unchanged>, -731 KiB
[C.] system-path                        -9.07 KiB

ADDED
[A.] disk-bay-exporter                  0.1.0, +32.6 KiB
[A.] etc-disk-bay-map.json              <none>
[A.] storage-observability              0.2.0, +111 KiB
[A.] unit-disk-bay-exporter.service     <none>
[A.] unit-disk-bay-exporter.timer       <none>
[A.] unit-hba-metrics.service           <none>
[A.] unit-hba-metrics.timer             <none>
[A.] unit-mdraid-metrics.service        <none>
[A.] unit-mdraid-metrics.timer          <none>

REMOVED
[R.] beast-storage-observability        0.2.0, -130 KiB
[R.] etc-beast-hba-bay-map.json         <none>
[R-] nvme-cli                           2.16, -1.83 MiB
[R.] unit-beast-disk-bay-export.service <none>
[R.] unit-beast-disk-bay-export.timer   <none>
[R.] unit-beast-hba-export.service      <none>
[R.] unit-beast-hba-export.timer        <none>
[R.] unit-beast-md-sync-export.service  <none>
[R.] unit-beast-md-sync-export.timer    <none>

PATHS: 1660 -> 1657 (+62, -65)
SIZE: 8.16 GiB -> 8.16 GiB
DIFF: -2.54 MiB
diff -ruN old/system/etc/beast-hba-bay-map.json new/system/etc/beast-hba-bay-map.json
--- old/system/etc/beast-hba-bay-map.json	2026-08-09 23:01:57.114854557 +0000
+++ new/system/etc/beast-hba-bay-map.json	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-[{"bay":"1","col":"1","model":"ST24000NM000H-3KS103","row":"1","serial":"ZYD01W48"},{"bay":"3","col":"1","model":"ST24000NM000H-3KS103","row":"3","serial":"ZYD0CASB"},{"bay":"5","col":"1","model":"ST24000NM000H-3KS103","row":"5","serial":"ZYD05Z4J"},{"bay":"6","col":"2","model":"ST24000NM000H-3KS103","row":"1","serial":"ZYD041CP"},{"bay":"7","col":"2","model":"ST24000NM000C-3WD103","row":"2","serial":"ZXA0RKFF"},{"bay":"9","col":"2","model":"ST24000NM000C-3WD103","row":"4","serial":"ZXA0B5K4"},{"bay":"10","col":"2","model":"ST24000NM000C-3WD103","row":"5","serial":"ZXA0FFNN"},{"bay":"11","col":"3","model":"ST24000NM000H-3KS103","row":"1","serial":"ZYD01W92"},{"bay":"12","col":"3","model":"ST24000NM000C-3WD103","row":"2","serial":"ZXA0GW38"},{"bay":"13","col":"3","model":"ST24000NM000H-3KS103","row":"3","serial":"ZYD02EQQ"},{"bay":"15","col":"3","model":"ST24000NM000C-3WD103","row":"5","serial":"ZXA0ENE4"}]
\ No newline at end of file
diff -ruN old/system/etc/disk-bay-map.json new/system/etc/disk-bay-map.json
--- old/system/etc/disk-bay-map.json	1970-01-01 00:00:00.000000000 +0000
+++ new/system/etc/disk-bay-map.json	2026-08-09 23:01:57.273436123 +0000
@@ -0,0 +1 @@
+[{"bay":1,"col":1,"model":"ST24000NM000H-3KS103","row":1,"serial":"ZYD01W48"},{"bay":3,"col":1,"model":"ST24000NM000H-3KS103","row":3,"serial":"ZYD0CASB"},{"bay":5,"col":1,"model":"ST24000NM000H-3KS103","row":5,"serial":"ZYD05Z4J"},{"bay":6,"col":2,"model":"ST24000NM000H-3KS103","row":1,"serial":"ZYD041CP"},{"bay":7,"col":2,"model":"ST24000NM000C-3WD103","row":2,"serial":"ZXA0RKFF"},{"bay":9,"col":2,"model":"ST24000NM000C-3WD103","row":4,"serial":"ZXA0B5K4"},{"bay":10,"col":2,"model":"ST24000NM000C-3WD103","row":5,"serial":"ZXA0FFNN"},{"bay":11,"col":3,"model":"ST24000NM000H-3KS103","row":1,"serial":"ZYD01W92"},{"bay":12,"col":3,"model":"ST24000NM000C-3WD103","row":2,"serial":"ZXA0GW38"},{"bay":13,"col":3,"model":"ST24000NM000H-3KS103","row":3,"serial":"ZYD02EQQ"},{"bay":15,"col":3,"model":"ST24000NM000C-3WD103","row":5,"serial":"ZXA0ENE4"}]
\ No newline at end of file
diff -ruN old/system/etc/exports new/system/etc/exports
--- old/system/etc/exports	2026-08-09 23:01:57.117332883 +0000
+++ new/system/etc/exports	2026-08-09 23:01:57.273578667 +0000
@@ -1,3 +1,3 @@
 /volume2/Media 192.168.20.2(rw,async,no_subtree_check,fsid=10)
 /volume2/nix-cache 192.168.20.7(rw,async,no_subtree_check,fsid=11)
-/volume2/paperless 192.168.20.4(rw,async,no_subtree_check,fsid=12,anonuid=315,anongid=315)
+/volume2/paperless 192.168.20.4(rw,async,no_subtree_check,fsid=12,anonuid=315,anongid=315)
\ No newline at end of file
diff -ruN old/system/etc/nfs.conf new/system/etc/nfs.conf
--- old/system/etc/nfs.conf	2026-08-09 23:01:57.174797918 +0000
+++ new/system/etc/nfs.conf	2026-08-09 23:01:57.319327463 +0000
@@ -1,4 +1,5 @@
 [nfsd]
+port=2049
 threads=8
 vers3=n
 vers4=y
diff -ruN old/system/etc/systemd/system/beast-disk-bay-export.service new/system/etc/systemd/system/beast-disk-bay-export.service
--- old/system/etc/systemd/system/beast-disk-bay-export.service	2026-08-09 23:01:57.196994905 +0000
+++ new/system/etc/systemd/system/beast-disk-bay-export.service	1970-01-01 00:00:00.000000000 +0000
@@ -1,13 +0,0 @@
-[Unit]
-After=local-fs.target
-Description=Export beast disk bay mapping for node exporter
-
-[Service]
-Environment="LOCALE_ARCHIVE=/nix/store/<path>/lib/locale/locale-archive"
-Environment="PATH=/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin"
-Environment="TZDIR=/nix/store/<path>/share/zoneinfo"
-ExecStart="/nix/store/<path>/bin/beast-disk-bay-metrics" "--bay-map" "/etc/beast-hba-bay-map.json" "--output-file" "/var/lib/prometheus-node-exporter-textfile/disk-bays.prom"
-Type=oneshot
-
-[Install]
-WantedBy=multi-user.target
diff -ruN old/system/etc/systemd/system/beast-disk-bay-export.timer new/system/etc/systemd/system/beast-disk-bay-export.timer
--- old/system/etc/systemd/system/beast-disk-bay-export.timer	2026-08-09 23:01:57.197057591 +0000
+++ new/system/etc/systemd/system/beast-disk-bay-export.timer	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-[Unit]
-
-[Timer]
-OnBootSec=30s
-OnUnitActiveSec=1min
-Unit=beast-disk-bay-export.service
-
-
-[Install]
-WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/beast-hba-export.service new/system/etc/systemd/system/beast-hba-export.service
--- old/system/etc/systemd/system/beast-hba-export.service	2026-08-09 23:01:57.197118784 +0000
+++ new/system/etc/systemd/system/beast-hba-export.service	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-[Unit]
-After=local-fs.target
-Description=Export beast HBA metrics for node exporter
-
-[Service]
-Environment="LOCALE_ARCHIVE=/nix/store/<path>/lib/locale/locale-archive"
-Environment="PATH=/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin"
-Environment="TZDIR=/nix/store/<path>/share/zoneinfo"
-ExecStart=/nix/store/<path>/bin/beast-hba-metrics --bay-map /etc/beast-hba-bay-map.json --output-file /var/lib/prometheus-node-exporter-textfile/hba.prom
-Type=oneshot
diff -ruN old/system/etc/systemd/system/beast-hba-export.timer new/system/etc/systemd/system/beast-hba-export.timer
--- old/system/etc/systemd/system/beast-hba-export.timer	2026-08-09 23:01:57.197178134 +0000
+++ new/system/etc/systemd/system/beast-hba-export.timer	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-[Unit]
-
-[Timer]
-OnBootSec=45s
-OnUnitActiveSec=1min
-Unit=beast-hba-export.service
-
-
-[Install]
-WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/beast-md-sync-export.service new/system/etc/systemd/system/beast-md-sync-export.service
--- old/system/etc/systemd/system/beast-md-sync-export.service	2026-08-09 23:01:57.197235741 +0000
+++ new/system/etc/systemd/system/beast-md-sync-export.service	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-[Unit]
-After=local-fs.target
-Description=Export md sync status for node exporter
-
-[Service]
-Environment="LOCALE_ARCHIVE=/nix/store/<path>/lib/locale/locale-archive"
-Environment="PATH=/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin"
-Environment="TZDIR=/nix/store/<path>/share/zoneinfo"
-ExecStart=/nix/store/<path>/bin/beast-md-metrics --output-file /var/lib/prometheus-node-exporter-textfile/md-sync.prom
-Type=oneshot
diff -ruN old/system/etc/systemd/system/beast-md-sync-export.timer new/system/etc/systemd/system/beast-md-sync-export.timer
--- old/system/etc/systemd/system/beast-md-sync-export.timer	2026-08-09 23:01:57.197295823 +0000
+++ new/system/etc/systemd/system/beast-md-sync-export.timer	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-[Unit]
-
-[Timer]
-OnBootSec=30s
-OnUnitActiveSec=1min
-Unit=beast-md-sync-export.service
-
-
-[Install]
-WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/disk-bay-exporter.service new/system/etc/systemd/system/disk-bay-exporter.service
--- old/system/etc/systemd/system/disk-bay-exporter.service	1970-01-01 00:00:00.000000000 +0000
+++ new/system/etc/systemd/system/disk-bay-exporter.service	2026-08-09 23:01:57.334052813 +0000
@@ -0,0 +1,19 @@
+[Unit]
+After=local-fs.target
+Description=Export physical disk-bay mappings for node exporter
+
+[Service]
+Environment="LOCALE_ARCHIVE=/nix/store/<path>/lib/locale/locale-archive"
+Environment="PATH=/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin"
+Environment="TZDIR=/nix/store/<path>/share/zoneinfo"
+ExecStart="/nix/store/<path>/bin/disk-bay-metrics" "--bay-map" "/etc/disk-bay-map.json" "--output-file" "/var/lib/prometheus-node-exporter-textfile/disk-bays.prom"
+LockPersonality=true
+MemoryDenyWriteExecute=true
+NoNewPrivileges=true
+PrivateTmp=true
+ProtectHome=true
+ProtectSystem=strict
+ReadWritePaths=/var/lib/prometheus-node-exporter-textfile
+RestrictAddressFamilies=AF_UNIX
+RestrictRealtime=true
+Type=oneshot
diff -ruN old/system/etc/systemd/system/disk-bay-exporter.timer new/system/etc/systemd/system/disk-bay-exporter.timer
--- old/system/etc/systemd/system/disk-bay-exporter.timer	1970-01-01 00:00:00.000000000 +0000
+++ new/system/etc/systemd/system/disk-bay-exporter.timer	2026-08-09 23:01:57.334112774 +0000
@@ -0,0 +1,9 @@
+[Unit]
+
+[Timer]
+OnBootSec=30s
+OnUnitActiveSec=1min
+
+
+[Install]
+WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/hba-metrics.service new/system/etc/systemd/system/hba-metrics.service
--- old/system/etc/systemd/system/hba-metrics.service	1970-01-01 00:00:00.000000000 +0000
+++ new/system/etc/systemd/system/hba-metrics.service	2026-08-09 23:01:57.336115779 +0000
@@ -0,0 +1,19 @@
+[Unit]
+After=local-fs.target
+Description=Export storage-controller metrics for node exporter
+
+[Service]
+Environment="LOCALE_ARCHIVE=/nix/store/<path>/lib/locale/locale-archive"
+Environment="PATH=/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin"
+Environment="TZDIR=/nix/store/<path>/share/zoneinfo"
+ExecStart="/nix/store/<path>/bin/storage-storcli-metrics" "--bay-map" "/etc/disk-bay-map.json" "--output-file" "/var/lib/prometheus-node-exporter-textfile/hba.prom"
+LockPersonality=true
+MemoryDenyWriteExecute=true
+NoNewPrivileges=true
+PrivateTmp=true
+ProtectHome=true
+ProtectSystem=strict
+ReadWritePaths=/var/lib/prometheus-node-exporter-textfile
+RestrictAddressFamilies=AF_UNIX
+RestrictRealtime=true
+Type=oneshot
diff -ruN old/system/etc/systemd/system/hba-metrics.timer new/system/etc/systemd/system/hba-metrics.timer
--- old/system/etc/systemd/system/hba-metrics.timer	1970-01-01 00:00:00.000000000 +0000
+++ new/system/etc/systemd/system/hba-metrics.timer	2026-08-09 23:01:57.336172164 +0000
@@ -0,0 +1,9 @@
+[Unit]
+
+[Timer]
+OnBootSec=45s
+OnUnitActiveSec=1min
+
+
+[Install]
+WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/mdraid-metrics.service new/system/etc/systemd/system/mdraid-metrics.service
--- old/system/etc/systemd/system/mdraid-metrics.service	1970-01-01 00:00:00.000000000 +0000
+++ new/system/etc/systemd/system/mdraid-metrics.service	2026-08-09 23:01:57.338695714 +0000
@@ -0,0 +1,19 @@
+[Unit]
+After=local-fs.target
+Description=Export Linux MD status for node exporter
+
+[Service]
+Environment="LOCALE_ARCHIVE=/nix/store/<path>/lib/locale/locale-archive"
+Environment="PATH=/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin"
+Environment="TZDIR=/nix/store/<path>/share/zoneinfo"
+ExecStart="/nix/store/<path>/bin/storage-md-metrics" "--output-file" "/var/lib/prometheus-node-exporter-textfile/md-sync.prom"
+LockPersonality=true
+MemoryDenyWriteExecute=true
+NoNewPrivileges=true
+PrivateTmp=true
+ProtectHome=true
+ProtectSystem=strict
+ReadWritePaths=/var/lib/prometheus-node-exporter-textfile
+RestrictAddressFamilies=AF_UNIX
+RestrictRealtime=true
+Type=oneshot
diff -ruN old/system/etc/systemd/system/mdraid-metrics.timer new/system/etc/systemd/system/mdraid-metrics.timer
--- old/system/etc/systemd/system/mdraid-metrics.timer	1970-01-01 00:00:00.000000000 +0000
+++ new/system/etc/systemd/system/mdraid-metrics.timer	2026-08-09 23:01:57.338751868 +0000
@@ -0,0 +1,9 @@
+[Unit]
+
+[Timer]
+OnBootSec=30s
+OnUnitActiveSec=1min
+
+
+[Install]
+WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/multi-user.target.wants/beast-disk-bay-export.service new/system/etc/systemd/system/multi-user.target.wants/beast-disk-bay-export.service
--- old/system/etc/systemd/system/multi-user.target.wants/beast-disk-bay-export.service	2026-08-09 23:01:57.212451531 +0000
+++ new/system/etc/systemd/system/multi-user.target.wants/beast-disk-bay-export.service	1970-01-01 00:00:00.000000000 +0000
@@ -1,13 +0,0 @@
-[Unit]
-After=local-fs.target
-Description=Export beast disk bay mapping for node exporter
-
-[Service]
-Environment="LOCALE_ARCHIVE=/nix/store/<path>/lib/locale/locale-archive"
-Environment="PATH=/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/bin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin:/nix/store/<path>/sbin"
-Environment="TZDIR=/nix/store/<path>/share/zoneinfo"
-ExecStart="/nix/store/<path>/bin/beast-disk-bay-metrics" "--bay-map" "/etc/beast-hba-bay-map.json" "--output-file" "/var/lib/prometheus-node-exporter-textfile/disk-bays.prom"
-Type=oneshot
-
-[Install]
-WantedBy=multi-user.target
diff -ruN old/system/etc/systemd/system/multi-user.target.wants/prometheus-node-exporter.service new/system/etc/systemd/system/multi-user.target.wants/prometheus-node-exporter.service
--- old/system/etc/systemd/system/multi-user.target.wants/prometheus-node-exporter.service	2026-08-09 23:01:57.214065584 +0000
+++ new/system/etc/systemd/system/multi-user.target.wants/prometheus-node-exporter.service	2026-08-09 23:01:57.341782829 +0000
@@ -10,9 +10,9 @@
 DeviceAllow=
 DynamicUser=false
 ExecStart=/nix/store/<path>/bin/node_exporter \
-  --collector.processes --collector.systemd --collector.textfile \
+  --collector.processes --collector.systemd --collector.textfile --collector.textfile \
    \
-  --web.listen-address 0.0.0.0:9100 --no-collector.mdadm --web.config.file=/nix/store/<path> --collector.textfile.directory=/var/lib/prometheus-node-exporter-textfile --collector.textfile.directory=/var/lib/prometheus-node-exporter-textfile
+  --web.listen-address 0.0.0.0:9100 --web.config.file=/nix/store/<path> --collector.textfile.directory=/var/lib/prometheus-node-exporter-textfile --no-collector.mdadm --collector.textfile.directory=/var/lib/prometheus-node-exporter-textfile
 
 Group=node-exporter
 LockPersonality=true
diff -ruN old/system/etc/systemd/system/multi-user.target.wants/prometheus-smartctl-exporter.service new/system/etc/systemd/system/multi-user.target.wants/prometheus-smartctl-exporter.service
--- old/system/etc/systemd/system/multi-user.target.wants/prometheus-smartctl-exporter.service	2026-08-09 23:01:57.214129242 +0000
+++ new/system/etc/systemd/system/multi-user.target.wants/prometheus-smartctl-exporter.service	2026-08-09 23:01:57.341838332 +0000
@@ -15,7 +15,7 @@
 DeviceAllow=char-nvme rw
 DevicePolicy=closed
 DynamicUser=true
-ExecStart=/nix/store/<path>/bin/smartctl_exporter '--web.listen-address=127.0.0.1:19633' '--smartctl.interval=60s' '--smartctl.path=/nix/store/<path>/bin/smartctl' '--smartctl.device-include=^(sd[a-z]+)$'
+ExecStart=/nix/store/<path>/bin/smartctl_exporter '--web.listen-address=127.0.0.1:19633' '--smartctl.interval=60s' '--smartctl.path=/nix/store/<path>/bin/smartctl' '--smartctl.device-include=^sd[a-z]+$'
 Group=smartctl-exporter
 LockPersonality=true
 MemoryDenyWriteExecute=true
diff -ruN old/system/etc/systemd/system/prometheus-node-exporter.service new/system/etc/systemd/system/prometheus-node-exporter.service
--- old/system/etc/systemd/system/prometheus-node-exporter.service	2026-08-09 23:01:57.223887790 +0000
+++ new/system/etc/systemd/system/prometheus-node-exporter.service	2026-08-09 23:01:57.348929020 +0000
@@ -10,9 +10,9 @@
 DeviceAllow=
 DynamicUser=false
 ExecStart=/nix/store/<path>/bin/node_exporter \
-  --collector.processes --collector.systemd --collector.textfile \
+  --collector.processes --collector.systemd --collector.textfile --collector.textfile \
    \
-  --web.listen-address 0.0.0.0:9100 --no-collector.mdadm --web.config.file=/nix/store/<path> --collector.textfile.directory=/var/lib/prometheus-node-exporter-textfile --collector.textfile.directory=/var/lib/prometheus-node-exporter-textfile
+  --web.listen-address 0.0.0.0:9100 --web.config.file=/nix/store/<path> --collector.textfile.directory=/var/lib/prometheus-node-exporter-textfile --no-collector.mdadm --collector.textfile.directory=/var/lib/prometheus-node-exporter-textfile
 
 Group=node-exporter
 LockPersonality=true
diff -ruN old/system/etc/systemd/system/prometheus-smartctl-exporter.service new/system/etc/systemd/system/prometheus-smartctl-exporter.service
--- old/system/etc/systemd/system/prometheus-smartctl-exporter.service	2026-08-09 23:01:57.223943494 +0000
+++ new/system/etc/systemd/system/prometheus-smartctl-exporter.service	2026-08-09 23:01:57.349042974 +0000
@@ -15,7 +15,7 @@
 DeviceAllow=char-nvme rw
 DevicePolicy=closed
 DynamicUser=true
-ExecStart=/nix/store/<path>/bin/smartctl_exporter '--web.listen-address=127.0.0.1:19633' '--smartctl.interval=60s' '--smartctl.path=/nix/store/<path>/bin/smartctl' '--smartctl.device-include=^(sd[a-z]+)$'
+ExecStart=/nix/store/<path>/bin/smartctl_exporter '--web.listen-address=127.0.0.1:19633' '--smartctl.interval=60s' '--smartctl.path=/nix/store/<path>/bin/smartctl' '--smartctl.device-include=^sd[a-z]+$'
 Group=smartctl-exporter
 LockPersonality=true
 MemoryDenyWriteExecute=true
diff -ruN old/system/etc/systemd/system/timers.target.wants/beast-disk-bay-export.timer new/system/etc/systemd/system/timers.target.wants/beast-disk-bay-export.timer
--- old/system/etc/systemd/system/timers.target.wants/beast-disk-bay-export.timer	2026-08-09 23:01:57.243984942 +0000
+++ new/system/etc/systemd/system/timers.target.wants/beast-disk-bay-export.timer	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-[Unit]
-
-[Timer]
-OnBootSec=30s
-OnUnitActiveSec=1min
-Unit=beast-disk-bay-export.service
-
-
-[Install]
-WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/timers.target.wants/beast-hba-export.timer new/system/etc/systemd/system/timers.target.wants/beast-hba-export.timer
--- old/system/etc/systemd/system/timers.target.wants/beast-hba-export.timer	2026-08-09 23:01:57.244041958 +0000
+++ new/system/etc/systemd/system/timers.target.wants/beast-hba-export.timer	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-[Unit]
-
-[Timer]
-OnBootSec=45s
-OnUnitActiveSec=1min
-Unit=beast-hba-export.service
-
-
-[Install]
-WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/timers.target.wants/beast-md-sync-export.timer new/system/etc/systemd/system/timers.target.wants/beast-md-sync-export.timer
--- old/system/etc/systemd/system/timers.target.wants/beast-md-sync-export.timer	2026-08-09 23:01:57.244094716 +0000
+++ new/system/etc/systemd/system/timers.target.wants/beast-md-sync-export.timer	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-[Unit]
-
-[Timer]
-OnBootSec=30s
-OnUnitActiveSec=1min
-Unit=beast-md-sync-export.service
-
-
-[Install]
-WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/timers.target.wants/disk-bay-exporter.timer new/system/etc/systemd/system/timers.target.wants/disk-bay-exporter.timer
--- old/system/etc/systemd/system/timers.target.wants/disk-bay-exporter.timer	1970-01-01 00:00:00.000000000 +0000
+++ new/system/etc/systemd/system/timers.target.wants/disk-bay-exporter.timer	2026-08-09 23:01:57.365391895 +0000
@@ -0,0 +1,9 @@
+[Unit]
+
+[Timer]
+OnBootSec=30s
+OnUnitActiveSec=1min
+
+
+[Install]
+WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/timers.target.wants/hba-metrics.timer new/system/etc/systemd/system/timers.target.wants/hba-metrics.timer
--- old/system/etc/systemd/system/timers.target.wants/hba-metrics.timer	1970-01-01 00:00:00.000000000 +0000
+++ new/system/etc/systemd/system/timers.target.wants/hba-metrics.timer	2026-08-09 23:01:57.365545329 +0000
@@ -0,0 +1,9 @@
+[Unit]
+
+[Timer]
+OnBootSec=45s
+OnUnitActiveSec=1min
+
+
+[Install]
+WantedBy=timers.target
diff -ruN old/system/etc/systemd/system/timers.target.wants/mdraid-metrics.timer new/system/etc/systemd/system/timers.target.wants/mdraid-metrics.timer
--- old/system/etc/systemd/system/timers.target.wants/mdraid-metrics.timer	1970-01-01 00:00:00.000000000 +0000
+++ new/system/etc/systemd/system/timers.target.wants/mdraid-metrics.timer	2026-08-09 23:01:57.365704745 +0000
@@ -0,0 +1,9 @@
+[Unit]
+
+[Timer]
+OnBootSec=30s
+OnUnitActiveSec=1min
+
+
+[Install]
+WantedBy=timers.target
diff -ruN old/system/etc/tmpfiles.d/00-nixos.conf new/system/etc/tmpfiles.d/00-nixos.conf
--- old/system/etc/tmpfiles.d/00-nixos.conf	2026-08-09 23:01:57.257929884 +0000
+++ new/system/etc/tmpfiles.d/00-nixos.conf	2026-08-09 23:01:57.374361289 +0000
@@ -9,11 +9,24 @@
 d /var/lib/lolek/telegram-bot-api/tmp 0750 lolek lolek - -
 d /var/lib/watchstate 0700 watchstate watchstate - -
 d /volume2/backups/staging/watchstate 0750 root restic-cloud - -
+d /volume2/backups/staging/jellyfin 0750 root restic-cloud - -
+d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
+L+ /var/lib/prometheus-node-exporter-textfile/systemd-unit-expectations.prom - - - - /nix/store/<path>
+d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
+d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
+d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
+d /volume2/backups/restic-prod/hosts/beast 0750 restic-cloud restic-cloud - -
+d /volume2/backups/restic-prod/hosts/home 0750 restic-home restic-home - -
+d /volume2/backups/restic-prod/hosts/orgvm 0750 restic-org restic-org - -
+d /volume2/backups/restic-prod/hosts/pki 0750 restic-pki restic-pki - -
+d /volume2/backups/restic-prod/hosts/srvarr 0750 restic-srvarr restic-srvarr - -
+d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
+d /var/lib/host-observability-backup-metrics 0755 root root - -
+d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
 d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
-d '/volume2/paperless' 0750 paperless paperless - -
-d '/volume2/paperless/consume' 0750 paperless paperless - -
-d '/volume2/paperless/export' 0750 paperless paperless - -
-d '/volume2/paperless/media' 0750 paperless paperless - -
+z /var/lib/prometheus-node-exporter-textfile/nixos-upgrade.prom 0644 root root - -
+d /run/nut 0770 nutmon nutmon -
+d /var/lib/nut 0750 nutmon nutmon -
 d /volume2/Media/library 2775 root media - -
 z /volume2/Media/library 2775 root media - -
 d /volume2/Media/library/books 2775 root media - -
@@ -104,21 +117,10 @@
 z /volume2/Media/library/fruitsies 2775 root media - -
 d /volume2/Media/library/music 2775 root media - -
 z /volume2/Media/library/music 2775 root media - -
-d /volume2/backups/staging/jellyfin 0750 root restic-cloud - -
-d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
-L+ /var/lib/prometheus-node-exporter-textfile/systemd-unit-expectations.prom - - - - /nix/store/<path>
-d /volume2/backups/restic-prod/hosts/beast 0750 restic-cloud restic-cloud - -
-d /volume2/backups/restic-prod/hosts/home 0750 restic-home restic-home - -
-d /volume2/backups/restic-prod/hosts/orgvm 0750 restic-org restic-org - -
-d /volume2/backups/restic-prod/hosts/pki 0750 restic-pki restic-pki - -
-d /volume2/backups/restic-prod/hosts/srvarr 0750 restic-srvarr restic-srvarr - -
-d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
-d /var/lib/host-observability-backup-metrics 0755 root root - -
-d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
-d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
-z /var/lib/prometheus-node-exporter-textfile/nixos-upgrade.prom 0644 root root - -
-d /run/nut 0770 nutmon nutmon -
-d /var/lib/nut 0750 nutmon nutmon -
+d /volume2/paperless 0750 315 paperless - -
+d /volume2/paperless/consume 0750 315 paperless - -
+d /volume2/paperless/export 0750 315 paperless - -
+d /volume2/paperless/media 0750 315 paperless - -
 d /var/lib/prometheus-node-exporter-textfile 0755 root root - -
 d /run/keys 0750 root 96
 z /run/keys 0750 root 96
diff -ruN old/system/etc/udev/rules.d/99-local.rules new/system/etc/udev/rules.d/99-local.rules
--- old/system/etc/udev/rules.d/99-local.rules	2026-08-09 23:01:57.270847562 +0000
+++ new/system/etc/udev/rules.d/99-local.rules	2026-08-09 23:01:57.383105166 +0000
@@ -1,4 +1,4 @@
-ACTION=="add|change|move|remove", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="sd*", RUN+="/nix/store/<path>/bin/systemctl --no-block restart smartd.service prometheus-smartctl-exporter.service"
+ACTION=="add|change|move|remove", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="sd*|nvme*", RUN+="/nix/store/<path>/bin/systemctl --no-block restart smartd.service prometheus-smartctl-exporter.service"
 
 KERNEL=="tun", TAG+="systemd"
 ACTION=="add", SUBSYSTEM=="nvme", KERNEL=="nvme[0-9]*", RUN+="/nix/store/<path>/bin/setfacl -m g:smartctl-exporter-access:rw /dev/$kernel"
frame (x86_64-linux)
REMOVED
[R.] remote-nixpkgs-runners 0.1.0, -91.3 KiB

PATHS: 2799 -> 2798 (+31, -32)
SIZE: 27.5 GiB -> 27.5 GiB
DIFF: -92.5 KiB
No generated config differences.
mair (aarch64-darwin)
ADDED
[A.] hm_.sshsecretive.pub <none>

REMOVED
[R.] hm_mairsecretive.pub <none>

PATHS: 1588 -> 1588 (+24, -24)
SIZE: 14.1 GiB -> 14.1 GiB
DIFF: +1.18 KiB
No generated config differences.
mmini (aarch64-darwin)
REMOVED
[R.] remote-nixpkgs-runners 0.1.0, -91.3 KiB

PATHS: 1594 -> 1593 (+25, -26)
SIZE: 14.2 GiB -> 14.2 GiB
DIFF: -92.5 KiB
No generated config differences.

Minor changes

builder1 (x86_64-linux)
PATHS: 1007 -> 1007 (+7, -7)
SIZE: 3.14 GiB -> 3.14 GiB
DIFF: +1.13 KiB
No generated config differences.
builder2 (x86_64-linux)
PATHS: 1007 -> 1007 (+7, -7)
SIZE: 3.14 GiB -> 3.14 GiB
DIFF: +1.13 KiB
No generated config differences.
builder3 (x86_64-linux)
PATHS: 1007 -> 1007 (+7, -7)
SIZE: 3.14 GiB -> 3.14 GiB
DIFF: +1.13 KiB
No generated config differences.
cache (x86_64-linux)
PATHS: 1041 -> 1041 (+7, -7)
SIZE: 3.20 GiB -> 3.20 GiB
DIFF: +1.13 KiB
No generated config differences.
fana (x86_64-linux)
PATHS: 1076 -> 1076 (+38, -38)
SIZE: 4.65 GiB -> 4.65 GiB
DIFF: +1.12 KiB
No generated config differences.
gw (x86_64-linux)
PATHS: 1042 -> 1042 (+7, -7)
SIZE: 3.16 GiB -> 3.16 GiB
DIFF: +1.13 KiB
No generated config differences.
home (x86_64-linux)
PATHS: 1279 -> 1279 (+11, -11)
SIZE: 4.69 GiB -> 4.69 GiB
DIFF: +1.13 KiB
No generated config differences.
nv (x86_64-linux)
PATHS: 2109 -> 2109 (+6, -6)
SIZE: 13.1 GiB -> 13.1 GiB
DIFF: +1.13 KiB
No generated config differences.
nvws (x86_64-linux)
PATHS: 3412 -> 3412 (+6, -6)
SIZE: 12.2 GiB -> 12.2 GiB
DIFF: +1.13 KiB
No generated config differences.
org (x86_64-linux)
PATHS: 1406 -> 1406 (+14, -14)
SIZE: 5.01 GiB -> 5.01 GiB
DIFF: +1.13 KiB
No generated config differences.
pki (x86_64-linux)
PATHS: 1123 -> 1123 (+27, -27)
SIZE: 5.55 GiB -> 5.55 GiB
DIFF: +1.13 KiB
No generated config differences.
prx1-lab (x86_64-linux)
PATHS: 3481 -> 3481 (+7, -7)
SIZE: 12.8 GiB -> 12.8 GiB
DIFF: +1.13 KiB
No generated config differences.
prx2-lab (x86_64-linux)
PATHS: 3472 -> 3472 (+7, -7)
SIZE: 12.8 GiB -> 12.8 GiB
DIFF: +1.13 KiB
No generated config differences.
prx3-lab (x86_64-linux)
PATHS: 3472 -> 3472 (+7, -7)
SIZE: 12.8 GiB -> 12.8 GiB
DIFF: +1.13 KiB
No generated config differences.
srvarr (x86_64-linux)
PATHS: 1754 -> 1754 (+29, -29)
SIZE: 9.11 GiB -> 9.11 GiB
DIFF: +1.13 KiB
No generated config differences.
JGWXHWDL4X (aarch64-darwin)
PATHS: 1535 -> 1535 (+9, -9)
SIZE: 15.7 GiB -> 15.7 GiB
DIFF: +1.13 KiB
No generated config differences.

No changes

None.

@booxter
booxter merged commit ff49e1d into master Aug 9, 2026
31 checks passed
@booxter
booxter deleted the facts branch August 9, 2026 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant