-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
34 lines (21 loc) · 878 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
hostname := `hostname`
default:
@echo "what do you want to do?"
fern:
sudo nixos-rebuild switch --flake ~/dotfiles/nix/machines/fern/.#fern
fern-use-badger:
sudo nixos-rebuild switch --flake ~/dotfiles/nix/machines/fern/.#fern --no-build-nix --build-host "badger"
fern-update-flake:
cd nix/machines/fern && sudo nix flake update
dusk:
darwin-rebuild switch --flake ~/dotfiles/nix/machines/dusk/.#dusk
ember:
sudo nixos-rebuild switch -I nixos-config=~/dotfiles/nix/machines/ember/configuration.nix
cedar:
sudo nixos-rebuild switch -I nixos-config=/home/gray/dotfiles/nix/machines/cedar/configuration.nix
mountain:
sudo nixos-rebuild --flake ~/dotfiles/nix/machines/mountainrange/.#mountainrange switch
badger:
sudo nixos-rebuild --flake ~/dotfiles/nix/machines/badger/.#badger switch
clean-nix:
sudo nix-collect-garbage -d