Home

dotnix @c0b5332645d6a3cc17cbc4d828c4ebc6f29fe091 - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / justfile
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
[private]
default:
	@just --choose

[private]
rebuild *args:
	@touch .dirty
	@git add .
	@sudo nixos-rebuild --flake . {{args}}
	@git rm -f .dirty

# Rebuild the current machine
switch *args:
	@just rebuild switch {{args}}

# Update the flake
update-flake:
	@nix flake update

# Update an individual input
update input:
	@nix flake lock --update-input {{input}}