aboutsummaryrefslogtreecommitdiffstats
path: root/Justfile
diff options
context:
space:
mode:
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Justfile b/Justfile
new file mode 100644
index 0000000..0408323
--- /dev/null
+++ b/Justfile
@@ -0,0 +1,14 @@
+rebuild:
+ sudo nixos-rebuild switch --flake .#nixbook
+
+debug:
+ sudo nixos-rebuild switch --flake .#nixbook --show-trace --verbose
+
+test:
+ sudo nixos-rebuild test --flake .#nixbook --show-trace --verbose
+
+clean:
+ nix-collect-garbage -d
+
+update:
+ nix flake update --commit-lock-file