Fix typo and enable btrfs scrubbing
This commit is contained in:
parent
54855a0d33
commit
6f09998656
20 changed files with 65 additions and 60 deletions
|
@ -1,5 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
options.system.mailserver = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable mail host and services";
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
./simplenix
|
||||
./roundcube
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
services.roundcube = {
|
||||
enable = true;
|
||||
enable = config.system.mailserver.enable;
|
||||
hostName = "mail.${config.domains.jim1}";
|
||||
extraConfig = ''
|
||||
$config['smtp_server'] = "tls://mx.${config.domains.jim1}";
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
];
|
||||
|
||||
mailserver = rec {
|
||||
enable = true;
|
||||
enable = config.system.mailserver.enable;
|
||||
domains = [
|
||||
"${config.domains.jim1}"
|
||||
"${config.domains.jim2}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue