1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

dunst: switch from attrs to attrsOf

This commit is contained in:
Nikita Uvarov 2018-12-05 11:53:17 +01:00
parent c108eaba42
commit b085344b91
No known key found for this signature in database
GPG key ID: F7A5FB3A7C10EF96

View file

@ -5,6 +5,9 @@ with lib;
let
cfg = config.services.dunst;
eitherStrBoolIntList = with types; either str (either bool (either int (listOf str)));
toDunstIni = generators.toINI {
mkKeyValue = key: value:
let
@ -61,7 +64,7 @@ in
};
settings = mkOption {
type = types.attrsOf types.attrs;
type = with types; attrsOf (attrsOf eitherStrBoolIntList);
default = {};
description = "Configuration written to ~/.config/dunstrc";
example = literalExample ''