diff --git a/modules/part.nix b/modules/part.nix index 0cd083b..3a6afcb 100644 --- a/modules/part.nix +++ b/modules/part.nix @@ -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 ]; diff --git a/modules/reflection/default.nix b/modules/reflection/default.nix new file mode 100644 index 0000000..eb3b5d3 --- /dev/null +++ b/modules/reflection/default.nix @@ -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}; + }; +}