feat: defines machine-specific variables

This commit is contained in:
Ahwx 2025-03-22 22:47:09 +01:00
parent cdf68775f8
commit dee7e2e5e9

View file

@ -0,0 +1,17 @@
{
lib,
config,
...
}: let
inherit (lib) mkOption types;
inherit (config.liv) variables;
in {
options.liv.variables.dandelion = {
thisMachine = mkOption {
default = "dandelion.srv.${variables.primaryDomain}";
type = types.str;
readOnly = true;
description = "Domain of this specific machine";
};
};
}