back interdiff of round #1 and #0

style: format with treefmt #96

merged
opened by a.starrysky.fyi targeting main from private/minion/push-mtkwrpxuxmqp

Now that we've got a system which properly evaluates and builds again, let's format it so all our CI passes

files
.tangled
packetmix
packages
bluesky-pds
systems
ERROR
packetmix/packages/bluesky-pds/default.nix

Failed to calculate interdiff for this file.

NEW
packetmix/systems/umber/auto-shutdown.nix
···
+
{ pkgs, ... }:
+
{
+
systemd.timers."auto-shutdown" = {
+
wantedBy = [ "timers.target" ];
+
timerConfig = {
+
OnCalendar = "* *-*-* 23:55:00 Etc/UTC";
+
Persistent = false;
+
Unit = "auto-shutdown.service";
+
};
+
};
+
+
systemd.services."auto-shutdown" = {
+
script = ''
+
${pkgs.systemd}/bin/systemctl poweroff
+
'';
+
serviceConfig = {
+
RemainAfterExit = true;
+
Type = "oneshot";
+
User = "root";
+
};
+
};
+
}
NEW
.tangled/workflows/packetmix-build.yml
···
- name: Add base system files
command: |
# Let us SSH to midnight by name
-
echo "192.168.0.6 midnight" >> /etc/hosts
+
echo "192.168.1.2 midnight" >> /etc/hosts
# Avoid missing user with UID 0 error on ssh...
echo "root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash" >> /etc/passwd