mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 15:14:26 +00:00
parent
db88b625f9
commit
7313258b45
1 changed files with 4 additions and 4 deletions
|
@ -6,9 +6,9 @@ let
|
|||
|
||||
cfg = config.services.spotifyd;
|
||||
|
||||
configFile = pkgs.writeText "spotifyd.conf" ''
|
||||
${generators.toINI { } cfg.settings}
|
||||
'';
|
||||
tomlFormat = pkgs.formats.toml { };
|
||||
|
||||
configFile = tomlFormat.generate "spotifyd.conf" cfg.settings;
|
||||
|
||||
in {
|
||||
options.services.spotifyd = {
|
||||
|
@ -27,7 +27,7 @@ in {
|
|||
};
|
||||
|
||||
settings = mkOption {
|
||||
type = types.attrsOf (types.attrsOf types.str);
|
||||
type = tomlFormat.type;
|
||||
default = { };
|
||||
description = "Configuration for spotifyd";
|
||||
example = literalExample ''
|
||||
|
|
Loading…
Reference in a new issue