nixos-config/hosts/lily/variables.nix

20 lines
336 B
Nix
Raw Normal View History

2025-05-15 21:32:38 +02:00
{
lib,
config,
...
}:
let
inherit (lib) mkOption types;
inherit (config.liv) variables;
in
{
options.liv.variables.lily = {
thisMachine = mkOption {
default = "lily.srv.${variables.primaryDomain}";
type = types.str;
readOnly = true;
description = "Domain of this specific machine";
};
};
}