mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +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,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
inherit (config.liv) variables;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.liv.variables = {
|
||||
primaryDomain = mkOption {
|
||||
default = "liv.town";
|
||||
|
|
@ -20,5 +22,12 @@ in {
|
|||
readOnly = true;
|
||||
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