summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/3modules/ergo.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/krebs/3modules/ergo.nix b/krebs/3modules/ergo.nix
index df9757db0..74e621fcb 100644
--- a/krebs/3modules/ergo.nix
+++ b/krebs/3modules/ergo.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, options, pkgs, ... }:
let
inherit (lib) mkEnableOption mkIf mkOption types;
@@ -84,6 +84,9 @@ in
config = mkIf cfg.enable ({
+ krebs.ergo.config =
+ lib.mapAttrsRecursive (_: lib.mkDefault) options.krebs.ergo.config.default;
+
systemd.services.ergo = {
description = "Ergo IRC daemon";
wantedBy = [ "multi-user.target" ];