Skip to content

Commit

Permalink
Add profiles.home-automation.androidDevices
Browse files Browse the repository at this point in the history
  • Loading branch information
mcwitt committed Jan 7, 2024
1 parent 6953488 commit 7c4dbca
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion modules/nixos/nixos/profiles/home-automation/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ in
./solar.nix
];

options.profiles.home-automation.enable = mkEnableOption "Services for home automation";
options.profiles.home-automation = {
enable = mkEnableOption "Services for home automation";

androidDevices = lib.mkOption {
description = "Android devices to receive notifications";
type = with lib.types; listOf string;
default = [ "pixel_8_pro" ];
};
};

config = mkIf cfg.enable {

Expand Down

0 comments on commit 7c4dbca

Please sign in to comment.