NixOS-Config/justfile

21 lines
343 B
Makefile
Raw Normal View History

build:
sudo nixos-rebuild switch --flake .# --show-trace
run:
nix-repl -f flake:nixpkgs
test:
sudo nix flake check --show-trace
update:
nix flake update
2024-10-25 13:20:35 +02:00
clean:
sudo nix-collect-garbage
2024-10-25 13:23:48 +02:00
sudo nix-store --optimise
push:
git add *
read -p "Commit message: " -r message && git commit -m "$message"
git push