mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 06:50:14 +01:00
33 lines
623 B
Nix
33 lines
623 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkOption types;
|
|
inherit (config.liv) variables;
|
|
in
|
|
{
|
|
options.liv.variables = {
|
|
primaryDomain = mkOption {
|
|
default = "liv.town";
|
|
type = types.str;
|
|
readOnly = true;
|
|
description = "My primary domain";
|
|
};
|
|
|
|
ntfyURL = mkOption {
|
|
default = "notify.${variables.liv.primaryDomain}";
|
|
type = types.str;
|
|
readOnly = true;
|
|
description = "Notification service";
|
|
};
|
|
|
|
email = mkOption {
|
|
default = "liv@liv.town";
|
|
type = types.str;
|
|
readOnly = true;
|
|
description = "My primary email";
|
|
};
|
|
};
|
|
}
|