From 4cef1b2727daacf8e30701c4012df959c9da8ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Schwarz=C3=A4ugl?= Date: Tue, 25 Feb 2025 19:42:01 +0100 Subject: [PATCH] fix: justfile indentation --- SwarselSystems.org | 20 ++++++++++---------- justfile | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/SwarselSystems.org b/SwarselSystems.org index ea7056c..da803ec 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -14759,32 +14759,32 @@ This file defines a few workflows that I often need to run when working on my co #+begin_src makefile :tangle justfile default: - @just --list + @just --list check: - nix flake check --keep-going + nix flake check --keep-going check-trace: - nix flake check --show-trace + nix flake check --show-trace update: - nix flake update + nix flake update iso: - rm -rf result - nix build .#nixosConfigurations.iso.config.system.build.isoImage && ln -sf result/iso/*.iso latest.iso + rm -rf result + nix build .#nixosConfigurations.iso.config.system.build.isoImage && ln -sf result/iso/*.iso latest.iso iso-flake FLAKE SYSTEM="x86_64" FORMAT="iso": - nixos-generate --flake .#{{FLAKE}} -f {{FORMAT}} --system {{SYSTEM}} + nixos-generate --flake .#{{FLAKE}} -f {{FORMAT}} --system {{SYSTEM}} iso-install DRIVE: iso - sudo dd if=$(eza --sort changed result/iso/*.iso | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync + sudo dd if=$(eza --sort changed result/iso/*.iso | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync dd DRIVE ISO: - sudo dd if=$(eza --sort changed {{ISO}} | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync + sudo dd if=$(eza --sort changed {{ISO}} | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync sync USER HOST: - rsync -av --filter=':- .gitignore' -e "ssh -l {{USER}}" . {{USER}}@{{HOST}}:.dotfiles/ + rsync -av --filter=':- .gitignore' -e "ssh -l {{USER}}" . {{USER}}@{{HOST}}:.dotfiles/ #+end_src ** statix.toml diff --git a/justfile b/justfile index 68264e2..afde561 100644 --- a/justfile +++ b/justfile @@ -1,27 +1,27 @@ default: -@just --list + @just --list check: -nix flake check --keep-going + nix flake check --keep-going check-trace: -nix flake check --show-trace + nix flake check --show-trace update: -nix flake update + nix flake update iso: -rm -rf result -nix build .#nixosConfigurations.iso.config.system.build.isoImage && ln -sf result/iso/*.iso latest.iso + rm -rf result + nix build .#nixosConfigurations.iso.config.system.build.isoImage && ln -sf result/iso/*.iso latest.iso iso-flake FLAKE SYSTEM="x86_64" FORMAT="iso": -nixos-generate --flake .#{{FLAKE}} -f {{FORMAT}} --system {{SYSTEM}} + nixos-generate --flake .#{{FLAKE}} -f {{FORMAT}} --system {{SYSTEM}} iso-install DRIVE: iso -sudo dd if=$(eza --sort changed result/iso/*.iso | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync + sudo dd if=$(eza --sort changed result/iso/*.iso | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync dd DRIVE ISO: -sudo dd if=$(eza --sort changed {{ISO}} | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync + sudo dd if=$(eza --sort changed {{ISO}} | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync sync USER HOST: -rsync -av --filter=':- .gitignore' -e "ssh -l {{USER}}" . {{USER}}@{{HOST}}:.dotfiles/ + rsync -av --filter=':- .gitignore' -e "ssh -l {{USER}}" . {{USER}}@{{HOST}}:.dotfiles/