mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
mako: add extraConfig option
This commit is contained in:
parent
76de0632ac
commit
cb136f37c7
1 changed files with 11 additions and 0 deletions
|
@ -271,6 +271,15 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
extraConfig = mkOption {
|
||||
default = "";
|
||||
type = types.lines;
|
||||
example = literalExample ''
|
||||
[urgency=low]
|
||||
border-color=#b8bb26
|
||||
'';
|
||||
description = "Additional configuration.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -311,6 +320,8 @@ in {
|
|||
${optionalInteger "default-timeout" cfg.defaultTimeout}
|
||||
${optionalBoolean "ignore-timeout" cfg.ignoreTimeout}
|
||||
${optionalString "group-by" cfg.groupBy}
|
||||
|
||||
${cfg.extraConfig}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue