Initial commit of flake-based NixOS config for the whole haus

This commit is contained in:
2025-06-29 14:43:56 +03:00
commit c09b5d4043
21 changed files with 1148 additions and 0 deletions

26
hosts/puter/cronjobs.nix Normal file
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";
};
};
}