depot/modules/reflection/default.nix

11 lines
234 B
Nix
Raw Permalink Normal View History

2024-07-16 15:01:32 +03:00
{ config, depot, lib, ... }:
{
options.reflection = lib.mkOption {
description = "Peer into the Watchman's Glass.";
type = lib.types.raw;
readOnly = true;
default = depot.hours.${config.networking.hostName};
};
}