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

Changed files
+28 -4
.tangled
packetmix
packages
bluesky-pds
systems
+1 -3
packetmix/packages/bluesky-pds/default.nix
··· 87 atproto_pds_dir=$(${findutils}/bin/find node_modules/.pnpm -maxdepth 1 -name "@atproto+pds@*") 88 rm -r $atproto_pds_dir 89 mkdir -p $atproto_pds_dir 90 - ln -s ${ 91 - config.packages.bluesky-atproto-pds.result.${system} 92 - }/lib $atproto_pds_dir/node_modules 93 ''; 94 }; 95 };
··· 87 atproto_pds_dir=$(${findutils}/bin/find node_modules/.pnpm -maxdepth 1 -name "@atproto+pds@*") 88 rm -r $atproto_pds_dir 89 mkdir -p $atproto_pds_dir 90 + ln -s ${config.packages.bluesky-atproto-pds.result.${system}}/lib $atproto_pds_dir/node_modules 91 ''; 92 }; 93 };
+26
packetmix/systems/umber/auto-shutdown.nix
···
··· 1 + # SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 + { pkgs, ... }: 6 + { 7 + systemd.timers."auto-shutdown" = { 8 + wantedBy = [ "timers.target" ]; 9 + timerConfig = { 10 + OnCalendar = "* *-*-* 23:55:00 Etc/UTC"; 11 + Persistent = false; 12 + Unit = "auto-shutdown.service"; 13 + }; 14 + }; 15 + 16 + systemd.services."auto-shutdown" = { 17 + script = '' 18 + ${pkgs.systemd}/bin/systemctl poweroff 19 + ''; 20 + serviceConfig = { 21 + RemainAfterExit = true; 22 + Type = "oneshot"; 23 + User = "root"; 24 + }; 25 + }; 26 + }
+1 -1
.tangled/workflows/packetmix-build.yml
··· 21 - name: Add base system files 22 command: | 23 # Let us SSH to midnight by name 24 - echo "192.168.0.6 midnight" >> /etc/hosts 25 26 # Avoid missing user with UID 0 error on ssh... 27 echo "root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash" >> /etc/passwd
··· 21 - name: Add base system files 22 command: | 23 # Let us SSH to midnight by name 24 + echo "192.168.1.2 midnight" >> /etc/hosts 25 26 # Avoid missing user with UID 0 error on ssh... 27 echo "root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash" >> /etc/passwd