refactor(Home-Assistant): module naming
This commit is contained in:
@@ -6,16 +6,16 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.profiles.homeassistant;
|
||||
cfg = config.my.profiles.home-assistant;
|
||||
in
|
||||
{
|
||||
options.my.profiles.homeassistant = with lib; {
|
||||
options.my.profiles.home-assistant = with lib; {
|
||||
enable = mkEnableOption "Home Automation";
|
||||
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.homeassistant = {
|
||||
services.home-assistant = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user