Add Rupert’s configuration
This commit is contained in:
commit
2b4264d32d
31 changed files with 1742 additions and 0 deletions
28
options/email.nix
Normal file
28
options/email.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ config, lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
options.email = {
|
||||
fromAddress = mkOption {
|
||||
type = types.str;
|
||||
example = "noreply@example.com";
|
||||
description = ''
|
||||
E-Mail address automated e-mails are sent from.
|
||||
'';
|
||||
};
|
||||
fromIdentity = mkOption {
|
||||
type = types.str;
|
||||
default = "${config.networking.hostName} <${config.email.fromAddress}>";
|
||||
example = "Maintenance (no reply) <noreply@example.com>";
|
||||
description = ''
|
||||
E-Mail identity automated e-mails are sent from.
|
||||
'';
|
||||
};
|
||||
adminEmail = mkOption {
|
||||
type = types.str;
|
||||
example = "admin@example.com";
|
||||
description = ''
|
||||
E-Mail address automated e-mails are sent to.
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue