1
0
Fork 0

Hevana: re-enable weekly builds for Khanda (yes, again)

This commit is contained in:
Aires 2024-12-02 13:08:35 -05:00
parent 1286cb3642
commit 8d319257d2

View file

@ -61,6 +61,29 @@ in
];
};
# Build Nix packages for other hosts.
# Runs every Saturday morning at 4 AM
systemd.services."build-hosts" = {
serviceConfig = {
Type = "oneshot";
User = "aires";
};
path = config.aux.system.corePackages;
script = ''
/run/current-system/sw/bin/nixos-operations-script --operation build --hostname Khanda
'';
};
systemd.timers."build-hosts" = {
wants = [ "network-online.target" ];
after = [ "network-online.target" ];
wantedBy = [ "timers.target" ];
timerConfig = {
OnCalendar = "Sat, 04:00";
Persistent = true;
Unit = "build-hosts.service";
};
};
# Configure the system.
aux.system = {
# Enable to allow unfree (e.g. closed source) packages.