mirror of
https://github.com/tboerger/nixos-config
synced 2026-11-30 01:04:46 +01:00
28 lines
305 B
Nix
28 lines
305 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 { };
|
|
}
|