ergo: always merge default config

This commit is contained in:
tv 2021-12-28 22:33:36 +01:00
parent 2a47990f16
commit e9cd6d91dc

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, lib, options, pkgs, ... }:
let let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf mkOption types;
@ -84,6 +84,9 @@ in
config = mkIf cfg.enable ({ config = mkIf cfg.enable ({
krebs.ergo.config =
lib.mapAttrsRecursive (_: lib.mkDefault) options.krebs.ergo.config.default;
systemd.services.ergo = { systemd.services.ergo = {
description = "Ergo IRC daemon"; description = "Ergo IRC daemon";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];