Fix typo and enable btrfs scrubbing

This commit is contained in:
Jimbo 2024-11-13 09:43:47 -05:00
parent 54855a0d33
commit 6f09998656
20 changed files with 65 additions and 60 deletions

View file

@ -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

View file

@ -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}";

View file

@ -6,7 +6,7 @@
];
mailserver = rec {
enable = true;
enable = config.system.mailserver.enable;
domains = [
"${config.domains.jim1}"
"${config.domains.jim2}"