diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-09 15:25:25 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-09 15:25:25 -0800 |
| commit | e4e769a7adaaa287cba1de8f04f04367c8c16d84 (patch) | |
| tree | 30b202919328f3a93a18a7f6721b14017689a934 /justfile | |
| parent | fix configuration for work MBP (diff) | |
| download | infra-e4e769a7adaaa287cba1de8f04f04367c8c16d84.tar.gz | |
fix misconfiguration of the bootloader
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -5,17 +5,19 @@ nixaddr := "" hostname := lowercase(`hostname -s`) -# update dependencies [group('nix')] +[doc('update dependencies')] update-deps: nix flake update --commit-lock-file -# a simple check to ensure the nix configuration is OK +[group('nix')] +[doc('a simple check to ensure the nix configuration is OK')] test-nix: nix flake check nix develop -c echo OK -# run various formatting tools +[group('nix')] +[doc('run various formatting tools')] fmt: nix fmt @@ -39,6 +41,7 @@ build: switch: nixos-rebuild switch --flake .#{{hostname}} +[group('vm')] vm-bootstrap: #!/usr/bin/env bash set -euxo pipefail @@ -65,6 +68,7 @@ vm-bootstrap: nixos-install --no-root-passwd && reboot; \ " +[group('vm')] vm-copy: #!/usr/bin/env bash rsync -av -e 'ssh {{SSH_OPTIONS}}' \ |
