Makefile : Refactor.

This commit is contained in:
Dmitry Voronin 2024-08-30 14:58:40 +03:00
parent 9b43f6845b
commit c009c6edc3
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

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