aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/justfile b/justfile
index 829e8f9..5179ff1 100644
--- a/justfile
+++ b/justfile
@@ -1,18 +1,24 @@
+# a quick setup
setup:
rye sync
+# update dependencies
update-deps:
nix flake update --commit-lock-file
+# build (and only build) the configuration for darwin
build-darwin:
darwin-rebuild build --flake .#
+# build and switch the configuration for darwin
switch-darwin:
darwin-rebuild switch --flake .#
+# a simple check to ensure the nix configuration is OK
test-nix:
nix flake check
nix develop -c echo OK
+# run various formatting tools
fmt:
nix fmt