Now that we've got a system which properly evaluates and builds again, let's format it so all our CI passes
+1
-3
packetmix/packages/bluesky-pds/default.nix
+1
-3
packetmix/packages/bluesky-pds/default.nix
···
87
87
atproto_pds_dir=$(${findutils}/bin/find node_modules/.pnpm -maxdepth 1 -name "@atproto+pds@*")
88
88
rm -r $atproto_pds_dir
89
89
mkdir -p $atproto_pds_dir
90
-
ln -s ${
91
-
config.packages.bluesky-atproto-pds.result.${system}
92
-
}/lib $atproto_pds_dir/node_modules
90
+
ln -s ${config.packages.bluesky-atproto-pds.result.${system}}/lib $atproto_pds_dir/node_modules
93
91
'';
94
92
};
95
93
};
+22
packetmix/systems/umber/auto-shutdown.nix
+22
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
+
}
+1
-1
.tangled/workflows/packetmix-build.yml
+1
-1
.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