HomeSource World

nixos/home-assistant: make service reloadable

Authored by Jörg Thalheim <joerg@thalheim.io> on May 31 2020, 8:22 AM.

Description

nixos/home-assistant: make service reloadable

This allows quick reloads using the following trick:

$(nix-build --show-trace --no-out-link \

-E '(with import <nixpkgs/nixos> {};
     pkgs.writeScript "update-hass-config"
     config.systemd.services.home-assistant.preStart)')

systemctl reload home-assistant

Details

Committed
Jörg Thalheim <joerg@thalheim.io>Sat, Jun 20, 9:31 AM
Pushed
sorpaasThu, Jun 25, 4:15 PM
Parents
rNIXPKGSe0ece5aebe88: Merge pull request #91136 from zowoq/skopeo
Branches
Unknown
Tags
Unknown

Event Timeline

Jörg Thalheim <joerg@thalheim.io> committed rNIXPKGS26e9a3498b44: nixos/home-assistant: make service reloadable (authored by Jörg Thalheim <joerg@thalheim.io>).Sat, Jun 20, 9:31 AM