fully migrates dnsc-machine

This commit is contained in:
Dennis Schoepf 2026-03-03 23:26:16 +01:00
parent 8363764798
commit 7d7f81d9ce
14 changed files with 390 additions and 1 deletions

23
Justfile Normal file
View file

@ -0,0 +1,23 @@
deploy host:
nixos-rebuild switch --flake .#{{host}}
debug host:
nixos-rebuild switch --flake .#{{host}} --show-trace --verbose
dry host:
nix build .#nixosConfigurations.{{host}}.config.system.build.toplevel --dry-run --no-link
update:
nix flake update
history:
nix profile history --profile /nix/var/nix/profiles/system
repl:
nix repl -f flake:nixpkgs
clean:
nix profile wipe-history --profile /nix/var/nix/profiles/system --older-than 7d
gc:
sudo nix-collect-garbage --delete-old