mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
feat: make live ISO a min config for bootstrapping
This commit is contained in:
parent
453869609c
commit
2a4740b6c9
9 changed files with 604 additions and 116 deletions
21
justfile
Normal file
21
justfile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
default:
|
||||
@just --list
|
||||
|
||||
check:
|
||||
nix flake check --keep-going
|
||||
|
||||
check-trace:
|
||||
nix flake check --show-trace
|
||||
|
||||
update:
|
||||
nix flake update
|
||||
|
||||
iso:
|
||||
rm -rf result
|
||||
nix build .#nixosConfigurations.iso.config.system.build.isoImage && ln -sf result/iso/*.iso latest.iso
|
||||
|
||||
iso-install DRIVE: iso
|
||||
sudo dd if=$(eza --sort changed result/iso/*.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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue