modules/reflection: init
This commit is contained in:
parent
f84eb995cd
commit
7422adb13a
2 changed files with 12 additions and 0 deletions
|
@ -26,6 +26,7 @@ in
|
||||||
nix-register-flakes = ./nix-register-flakes;
|
nix-register-flakes = ./nix-register-flakes;
|
||||||
patroni = ./patroni;
|
patroni = ./patroni;
|
||||||
port-magic = ./port-magic;
|
port-magic = ./port-magic;
|
||||||
|
reflection = ./reflection;
|
||||||
shell-config = ./shell-config;
|
shell-config = ./shell-config;
|
||||||
ssh = ./ssh;
|
ssh = ./ssh;
|
||||||
system-info = ./system-info;
|
system-info = ./system-info;
|
||||||
|
@ -39,6 +40,7 @@ in
|
||||||
minimal
|
minimal
|
||||||
nixpkgs-config
|
nixpkgs-config
|
||||||
port-magic
|
port-magic
|
||||||
|
reflection
|
||||||
ssh
|
ssh
|
||||||
systemd-extras
|
systemd-extras
|
||||||
];
|
];
|
||||||
|
|
10
modules/reflection/default.nix
Normal file
10
modules/reflection/default.nix
Normal 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};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue