Replaced Makefile with Justfile

This commit is contained in:
2026-01-09 12:55:09 +01:00
parent 67cd899ebe
commit cefce32ed8
2 changed files with 5 additions and 1 deletions

26
Justfile Normal file
View File

@@ -0,0 +1,26 @@
default:
@just --list
all:
@echo "No command provided"
home:
echo "HOME is: '${HOME}'"
machine:
@echo "${HOSTNAME}"
switch:
nh os switch -a -H "${HOSTNAME}" .
test:
nh os test -a -H "${HOSTNAME}" .
update:
sudo nix flake update
upgrade: update switch
clean:
sudo nix-collect-garbage -d
sudo nix-store --optimise