Jörg Thalheim
ee2ea82a68
nixos/home-assistant: make config deep mergeable
...
This make it possible to split the home-assistant configuration
across multiple files and nix will merge the option in an intuitive
way.
2020-02-28 15:32:03 +00:00
Cole Mickens
90d297c4cd
nixos: home-assistant: can dial out
2020-01-19 00:03:44 -08:00
Jörg Thalheim
283e3e7218
nixos/home-assistant: support for secrets
2020-01-09 10:39:50 +00:00
Peter Hoeg
e537a0a11e
home-assistant: set capabilities for bluetooth
2019-09-23 21:54:16 +08:00
Robert Schütz
d280603bd1
nixos/home-assistant: account for introduction of manifest.json
...
The `availableComponents` now only contain a single attribute for
every integration.
2019-05-04 12:01:23 +02:00
Robert Schütz
77482629b0
nixos/home-assistant: use preferLocalBuild = true
for configuration
2019-03-02 12:37:48 +01:00
Robert Schütz
971187eada
nixos/home-assistant: account for "The Great Migration"
...
See https://developers.home-assistant.io/blog/2019/02/19/the-great-migration.html
and https://github.com/NixOS/nixpkgs/issues/55958#issuecomment-466793526 .
2019-03-02 12:37:48 +01:00
Robert Schütz
e211f55d87
nixos/home-assistant: use availableComponents of configured package
...
fixes #55958
2019-02-22 17:33:18 +01:00
Robert Schütz
efe98cbdc8
nixos/home-assistant: make config.http.server_port an integer
2019-02-09 15:26:55 +01:00
Robert Schütz
f85453f060
nixos/home-assistant: add configWritable option
2019-02-03 13:08:11 +01:00
Robert Schütz
f908f6c982
nixos/home-assistant: don't run json2yaml at every start
2019-01-29 08:56:51 +01:00
Robert Schütz
7cc7c5374c
nixos/home-assistant: add lovelaceConfig option
2019-01-29 08:56:51 +01:00
Peter Hoeg
db1a40a882
home-assistant: use SIGINT instead of SIGTERM to shut down ( #49571 )
...
hass will ignore the standard SIGTERM sent by systemd during stop/restart and we
then have to wait for the timeout after which systemd will forcefully kill the
process.
If instead if we send SIGINT, hass will shut down nicely.
There are many issues reported upstream about the inability to shut down/restart
and it is *supposed* to work with SIGTERM but doesn't.
2018-11-01 16:39:37 +01:00
Robert Schütz
55a12c9763
nixos/home-assistant: do not always override extraComponents ( #43845 )
...
Fixes #43843 .
2018-07-20 19:28:29 +02:00
Florian Klink
fff5923686
nixos/modules: users.(extraUsers|extraGroup->users|group)
2018-06-30 03:02:58 +02:00
Robin Gloster
852fa6b86f
home-assistant module: add openFirewall option
2018-05-22 14:29:57 +02:00
Robert Schütz
e4a6e320bb
home-assistant: simplify definition of configFile
2018-04-24 20:49:16 +02:00
Peter Hoeg
b886faa6b6
home-assistant: use remarshal to convert configuration to YAML
...
HA doesn't mind the configuration being JSON instead of YAML but since YAML is
the official language, use that as it allows users to easily exchange config
data with other parties in the community.
2018-04-23 16:53:13 +08:00
Peter Hoeg
4cd88807d8
home-assistant: make port configurable so we can use it elsewhere
...
Additionally, some settings based on NixOS configuation is set via defaultConfig
which is then merged with the user provided configration.
For now that just means http port and time zone but others can easily be added.
2018-04-23 16:53:12 +08:00
Peter Hoeg
2859483fe9
nixos home-assistant: a couple of fixes ( #36338 )
...
a) set path to /run/wrappers so ping works
b) run via a target so we can easily inject other components (config copier,
appdaemon)
2018-03-18 12:46:36 +01:00
Robert Schütz
59eb19224b
nixos/home-assistant: support platform=... scheme for autoExtraComponents
...
See https://home-assistant.io/components/sensor.luftdaten/ for an example component using that scheme.
2018-02-04 11:09:55 +01:00
adisbladis
7ebb82e04f
home-assistant: Fix incorrect xml closing tag
2018-02-03 16:54:02 +08:00
Robert Schütz
78c2ca326e
home-assistant: compute extraComponents from config
2018-02-02 09:48:50 +01:00
Robert Schütz
bacbc48cfe
home-assistant: add NixOS module
2018-01-31 12:30:31 +01:00