mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-22 18:21:58 +01:00
21 lines
293 B
Nix
21 lines
293 B
Nix
{ pkgs, lib, config, options, fetchurl, ... }:
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.personal.services.hass;
|
|
|
|
in
|
|
{
|
|
options = {
|
|
personal = {
|
|
services = {
|
|
hass = {
|
|
enable = mkEnableOption "Home Assistant";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable { };
|
|
}
|