aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile22
1 files changed, 0 insertions, 22 deletions
diff --git a/justfile b/justfile
index e378239..491bb99 100644
--- a/justfile
+++ b/justfile
@@ -6,22 +6,12 @@ hostname := lowercase(`hostname -s`)
default:
@just --list
-[doc('update dependencies')]
-[group('nix')]
-update-deps:
- nix flake update --commit-lock-file
-
[doc('a simple check to ensure the nix configuration is OK')]
[group('nix')]
test-nix:
nix flake check
nix develop -c echo OK
-[doc('run various formatting tools')]
-[group('nix')]
-fmt:
- nix fmt
-
# Nix Store can contains corrupted entries if the nix store object has been modified unexpectedly.
# This command will verify all the store entries,
@@ -51,18 +41,6 @@ gcroot:
[doc('build the configuration for the current host')]
[group('machines')]
-[macos]
-build:
- darwin-rebuild build --flake .#{{ hostname }}
-
-[doc('switch the configuration for the current host')]
-[group('machines')]
-[macos]
-switch:
- darwin-rebuild switch --flake .#{{ hostname }}
-
-[doc('build the configuration for the current host')]
-[group('machines')]
[linux]
build:
nixos-rebuild build --flake .#{{ hostname }}