Makefile : Refactor.
This commit is contained in:
parent
9b43f6845b
commit
c009c6edc3
9
Makefile
9
Makefile
|
@ -1,6 +1,9 @@
|
||||||
options = --option eval-cache false --fallback
|
options = --option eval-cache false --fallback
|
||||||
flake = .
|
flake = .
|
||||||
|
|
||||||
|
help:
|
||||||
|
@printf "Please specify a target.\n"
|
||||||
|
|
||||||
android:
|
android:
|
||||||
nix-on-droid switch --flake $(flake)
|
nix-on-droid switch --flake $(flake)
|
||||||
cp ~/.termux/_font.ttf ~/.termux/font.ttf
|
cp ~/.termux/_font.ttf ~/.termux/font.ttf
|
||||||
|
@ -24,10 +27,8 @@ fix-hm-root:
|
||||||
systemctl restart home-manager-root.service; \
|
systemctl restart home-manager-root.service; \
|
||||||
mv /etc/nix/nix.conf_ /etc/nix/nix.conf
|
mv /etc/nix/nix.conf_ /etc/nix/nix.conf
|
||||||
|
|
||||||
install-nix:
|
install:
|
||||||
sh <(curl -L https://nixos.org/nix/install) --no-daemon
|
sh <(curl -L https://nixos.org/nix/install) --daemon
|
||||||
|
|
||||||
install-hm:
|
|
||||||
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
nix-shell '<home-manager>' -A install
|
nix-shell '<home-manager>' -A install
|
||||||
|
|
Loading…
Reference in a new issue