forked from yasinuslu/nepjua
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Justfile
29 lines (20 loc) · 814 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
set shell := ["fish", "-c"]
repl:
nix repl --show-trace
# Open a nix shell with the nixpkgs
repl-nixpkgs:
nix repl -f flake:nixpkgs
build-verbose-no-cache host="kaori":
nixos-rebuild build --flake .#{{host}} --option eval-cache false --show-trace --print-build-logs --verbose --impure
build-verbose host="kaori":
nixos-rebuild build --flake .#{{host}} --show-trace --print-build-logs --verbose --impure
switch host="kaori":
sudo nixos-rebuild switch --flake .#{{host}} --impure
darwin-switch host="joyboy":
darwin-rebuild switch --flake .#{{host}}
darwin-debug host="joyboy":
darwin-rebuild build --flake .#{{host}} --show-trace --option eval-cache false
update-dconf:
dconf dump "/" | nix run nixpkgs#dconf2nix > ./modules/home-manager/features-gui/gnome/dconf.nix
up:
nix flake update