Unverified Commit 03262a3c authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

nixos/dunst: fix config format (#513983)

parents 1f4db85f 2ef4f67a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
  ...
}:
let
  toml = pkgs.formats.toml { };
  gitIni = pkgs.formats.gitIni { };
  cfg = config.services.dunst;
in
{
@@ -22,7 +22,7 @@ in
    };

    settings = lib.mkOption {
      type = toml.type;
      type = gitIni.type;
      default = { };
      description = "Dunst configuration, see dunst(5)";
      example = lib.literalExpression ''
@@ -69,7 +69,7 @@ in

    environment = {
      systemPackages = [ cfg.package ];
      etc."xdg/dunst/dunstrc".source = toml.generate "dunstrc" cfg.settings;
      etc."xdg/dunst/dunstrc".source = gitIni.generate "dunstrc" cfg.settings;
    };

    services.dbus.packages = [ cfg.package ];