-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathjustfile
36 lines (29 loc) · 771 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
34
35
36
default:
@just --list
# Activate local configuration
[group('main')]
local:
nix run
# Run this before `nix run` to build the current configuration
[group('main')]
nom:
, nom build --no-link .#nixosConfigurations.vixen.config.system.build.toplevel
# Deploy to Beelink
[group('deploy')]
pureintent:
nix run . pureintent
# Deploy to Mac Mini
[group('deploy')]
naivete:
nix run . naivete
# Deploy to infinitude (mac)
[group('deploy')]
infinitude:
nix run . infinitude
# Format the nix source tree
fmt:
pre-commit run --all-files
# https://discourse.nixos.org/t/why-doesnt-nix-collect-garbage-remove-old-generations-from-efi-menu/17592/4
fuckboot:
sudo nix-collect-garbage -d
sudo /run/current-system/bin/switch-to-configuration boot