26 lines
518 B
Makefile
26 lines
518 B
Makefile
deploy:
|
|
nixos-rebuild switch --flake .
|
|
|
|
dd:
|
|
darwin-rebuild switch --flake .
|
|
|
|
debug:
|
|
nixos-rebuild switch --flake . --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
|