ergo: always merge default config
This commit is contained in:
parent
2a47990f16
commit
e9cd6d91dc
@ -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" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user