Makefile : Add hm fixes for other users.

This commit is contained in:
Dmitry Voronin 2024-09-03 14:13:39 +03:00
parent 934c005c7d
commit dd9756183e
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -22,9 +22,11 @@ check:
nix flake check --show-trace
# HACK: https://github.com/nix-community/home-manager/issues/5589
fix-hm-root:
fix-hm:
mv /etc/nix/nix.conf /etc/nix/nix.conf_; \
systemctl restart home-manager-root.service; \
systemctl restart home-manager-voronind.service; \
systemctl restart home-manager-dasha.service; \
mv /etc/nix/nix.conf_ /etc/nix/nix.conf
install: