Your one-stop-cake-shop for everything Freshly Baked has to offer

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

Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:uuyqs6y3pwtbteet4swt5i5y/sh.tangled.repo.pull/3m32s5frctg22
+28 -4
Diff #4
+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 };
+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 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

History

5 rounds 0 comments
sign up or login to add to the discussion
3 commits
expand
style: format with treefmt
feat(umber): automatically shutdown
ci: correct build workflow IP
5/5 success
expand
expand 0 comments
pull request successfully merged
3 commits
expand
style: format with treefmt
feat(umber): automatically shutdown
ci: correct build workflow IP
1/5 failed, 4/5 success
expand
expand 0 comments
3 commits
expand
style: format with treefmt
feat(umber): automatically shutdown
ci: correct build workflow IP
1/5 failed, 1/5 timeout, 3/5 success
expand
expand 0 comments
3 commits
expand
style: format with treefmt
feat(umber): automatically shutdown
ci: correct build workflow IP
1/5 failed, 2/5 timeout, 2/5 success
expand
expand 0 comments
1 commit
expand
style: format with treefmt
1/5 failed, 4/5 success
expand
expand 0 comments