nixos/spec/eientei/hass.nix

21 lines
393 B
Nix
Raw Normal View History

2024-02-02 09:13:18 +08:00
{ 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";
}