Makefile : Use detsys installer for system install.

This commit is contained in:
Dmitry Voronin 2024-09-07 21:41:51 +03:00
parent 2dba34da9a
commit 9869cc91a0
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -29,9 +29,9 @@ fix-hm:
systemctl restart home-manager-dasha.service; \ systemctl restart home-manager-dasha.service; \
mv /etc/nix/nix.conf_ /etc/nix/nix.conf mv /etc/nix/nix.conf_ /etc/nix/nix.conf
# SOURCE: https://github.com/DeterminateSystems/nix-installer
install-system: install-system:
curl -L https://nixos.org/nix/install | sh /dev/stdin --daemon curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
printf "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
install-user: install-user:
curl -L https://nixos.org/nix/install | sh /dev/stdin --no-daemon curl -L https://nixos.org/nix/install | sh /dev/stdin --no-daemon