modules/reflection: init

This commit is contained in:
Max Headroom 2024-07-16 14:01:32 +02:00
parent f84eb995cd
commit 7422adb13a
2 changed files with 12 additions and 0 deletions

View file

@ -26,6 +26,7 @@ in
nix-register-flakes = ./nix-register-flakes;
patroni = ./patroni;
port-magic = ./port-magic;
reflection = ./reflection;
shell-config = ./shell-config;
ssh = ./ssh;
system-info = ./system-info;
@ -39,6 +40,7 @@ in
minimal
nixpkgs-config
port-magic
reflection
ssh
systemd-extras
];

View file

@ -0,0 +1,10 @@
{ 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};
};
}