Now that we've got a system which properly evaluates and builds again, let's format it so all our CI passes
ERROR
packetmix/packages/bluesky-pds/default.nix
ERROR
packetmix/packages/bluesky-pds/default.nix
Failed to calculate interdiff for this file.
NEW
packetmix/systems/umber/auto-shutdown.nix
NEW
packetmix/systems/umber/auto-shutdown.nix
···
1
+
{ pkgs, ... }:
2
+
{
3
+
systemd.timers."auto-shutdown" = {
4
+
wantedBy = [ "timers.target" ];
5
+
timerConfig = {
6
+
OnCalendar = "* *-*-* 23:55:00 Etc/UTC";
7
+
Persistent = false;
8
+
Unit = "auto-shutdown.service";
9
+
};
10
+
};
11
+
12
+
systemd.services."auto-shutdown" = {
13
+
script = ''
14
+
${pkgs.systemd}/bin/systemctl poweroff
15
+
'';
16
+
serviceConfig = {
17
+
RemainAfterExit = true;
18
+
Type = "oneshot";
19
+
User = "root";
20
+
};
21
+
};
22
+
}
NEW
.tangled/workflows/packetmix-build.yml
NEW
.tangled/workflows/packetmix-build.yml
···
21
21
- name: Add base system files
22
22
command: |
23
23
# Let us SSH to midnight by name
24
-
echo "192.168.0.6 midnight" >> /etc/hosts
24
+
echo "192.168.1.2 midnight" >> /etc/hosts
25
25
26
26
# Avoid missing user with UID 0 error on ssh...
27
27
echo "root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash" >> /etc/passwd