Integrated box host

This commit is contained in:
2025-10-02 13:56:28 +03:00
parent 82a4fa9169
commit db42fd7021
13 changed files with 394 additions and 5 deletions

View File

@@ -0,0 +1,26 @@
{
config,
pkgs,
...
}: {
systemd.timers."kondo" = {
wantedBy = ["timers.target"];
timerConfig = {
#OnBootSec = "5m";
#OnUnitActiveSec = "5m";
Unit = "kondo.service";
OnCalendar = "weekly";
Persistent = true;
};
};
systemd.services."kondo" = {
script = ''
kondo --all --ignored-dirs dev/current
'';
serviceConfig = {
Type = "oneshot";
User = "root";
};
};
}