mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Replaced Makefile with Justfile
This commit is contained in:
26
Justfile
Normal file
26
Justfile
Normal 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
|
||||
Reference in New Issue
Block a user