mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 06:50:14 +01:00
feat: adds email to variables file
This commit is contained in:
parent
4d84ef14b6
commit
c72e716710
1 changed files with 11 additions and 2 deletions
|
|
@ -2,10 +2,12 @@
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: let
|
}:
|
||||||
|
let
|
||||||
inherit (lib) mkOption types;
|
inherit (lib) mkOption types;
|
||||||
inherit (config.liv) variables;
|
inherit (config.liv) variables;
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
options.liv.variables = {
|
options.liv.variables = {
|
||||||
primaryDomain = mkOption {
|
primaryDomain = mkOption {
|
||||||
default = "liv.town";
|
default = "liv.town";
|
||||||
|
|
@ -20,5 +22,12 @@ in {
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
description = "Notification service";
|
description = "Notification service";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
email = mkOption {
|
||||||
|
default = "liv@liv.town";
|
||||||
|
type = types.str;
|
||||||
|
readOnly = true;
|
||||||
|
description = "My primary email";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue