chore: Better use of boolean to activate service

This commit is contained in:
Wateir 2025-12-24 18:06:14 +01:00
parent 2f5c8be389
commit 7506073727
4 changed files with 6 additions and 8 deletions

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }:
lib.mkIf config.module.roundcube.enable {
{
age.secrets = {
YfDrVBDJcVoYNZeJ = {
file = ../secrets/cache/YfDrVBDJcVoYNZeJ;
@ -12,7 +12,6 @@ lib.mkIf config.module.roundcube.enable {
services.roundcube = {
enable = true;
hostName = "${config.module.roundcube.subdomain}.${config.module.domain}";
plugins = [ "multiple_accounts" ];