fully migrates dnsc-machine
This commit is contained in:
parent
8363764798
commit
7d7f81d9ce
14 changed files with 390 additions and 1 deletions
23
Justfile
Normal file
23
Justfile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue