add examples and test VM

This commit is contained in:
2026-02-20 18:14:49 +01:00
parent df73fc25e6
commit 8868eb8736
12 changed files with 325 additions and 416 deletions

16
examples/system.nix Normal file
View File

@@ -0,0 +1,16 @@
{ pkgs, ... }:
{
services.panoptikon.enable = true;
services.panoptikon.watchers = {
boot-space = {
script = pkgs.writers.writeDash "load-average" ''
${pkgs.coreutils}/bin/df -h /boot
'';
frequency = "*:0/2";
reporters = [
(pkgs.panoptikonReporters.wall { })
];
};
};
}