feat(eientei): add home-assistant
This commit is contained in:
parent
3d004ca78a
commit
7bf9f18260
20
spec/eientei/hass.nix
Normal file
20
spec/eientei/hass.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{ pkgs
|
||||||
|
, config
|
||||||
|
, ...}: {
|
||||||
|
services.home-assistant = {
|
||||||
|
enable = true;
|
||||||
|
config = null;
|
||||||
|
configDir = "/nix/persist/service/hass";
|
||||||
|
|
||||||
|
extraComponents = [
|
||||||
|
"default_config"
|
||||||
|
"met"
|
||||||
|
"esphome"
|
||||||
|
"synology_dsm"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ];
|
||||||
|
|
||||||
|
global.fs.zfs.mountpoints."/nix/persist/service/hass" = "service/hass";
|
||||||
|
}
|
Loading…
Reference in a new issue