2024-10-17 15:27:40 +02:00
|
|
|
build:
|
2024-10-19 18:47:20 +02:00
|
|
|
sudo nixos-rebuild switch --flake .# --show-trace
|
2024-10-17 15:27:40 +02:00
|
|
|
|
|
|
|
run:
|
|
|
|
nix-repl -f flake:nixpkgs
|
|
|
|
|
|
|
|
test:
|
2024-10-19 18:47:20 +02:00
|
|
|
sudo nix flake check --show-trace
|
2024-10-17 15:27:40 +02:00
|
|
|
|
|
|
|
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
|
2024-12-05 14:55:32 +01:00
|
|
|
|
2024-12-05 23:50:16 +01:00
|
|
|
setup:
|
|
|
|
echo "just test" >> ./.git/hooks/pre-commit && chmod +x ./.git/hooks/pre-commit
|
|
|
|
|
2024-12-05 14:55:32 +01:00
|
|
|
push:
|
2024-12-06 15:44:49 +01:00
|
|
|
git pull
|
2024-12-05 14:55:32 +01:00
|
|
|
git add *
|
|
|
|
read -p "Commit message: " -r message && git commit -m "$message"
|
|
|
|
git push
|