Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions modules/frigate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,16 @@ in

package = mkOption {
type = types.package;
default = pkgs.callPackage ../pkgs/frigate/package.nix { };
defaultText = literalExpression "pkgs.callPackage \"\${roost}/pkgs/frigate/package.nix\" { }";
description = "Frigate package to use.";
default = pkgs.frigate or (pkgs.callPackage ../pkgs/frigate/package.nix { });
defaultText = literalExpression "pkgs.frigate or (pkgs.callPackage \"\${roost}/pkgs/frigate/package.nix\" { })";
description = ''
Frigate package to use. Defaults to `pkgs.frigate` if defined
(e.g. via `roost.overlays.default` or a consumer overlay),
otherwise to a fresh callPackage of `pkgs/frigate/package.nix`
from this flake — so the standard Nix override paths
(overlay, this option, or a downstream package fork) all
compose.
'';
};

user = mkOption {
Expand Down
Loading