aboutsummaryrefslogtreecommitdiffstats
path: root/Justfile
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2024-10-07 11:47:06 +0300
committergramanas <anastasis.gramm2@gmail.com>2024-10-07 11:47:06 +0300
commit4547e75868cba2a265b78661ddc386b5e81c1bb0 (patch)
tree71924feb573c8af5030080fc007eee7bfbaabb20 /Justfile
downloadnix-4547e75868cba2a265b78661ddc386b5e81c1bb0.tar.gz
nix-4547e75868cba2a265b78661ddc386b5e81c1bb0.tar.bz2
nix-4547e75868cba2a265b78661ddc386b5e81c1bb0.zip
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