mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:50:44 +08:00
qutebrowser: unwrap list from keybinding removal
The option to remove the default keybindings by setting the `programs.qutebrowser.enableDefaultKeybindings` variable to `false` had a list wrapped around the `config.py` line. This would cause a type coercion error. PR #1410
This commit is contained in:
committed by
Robert Helgesson
parent
7b73f84071
commit
89adfc9f01
@@ -261,7 +261,7 @@ in {
|
||||
++ mapAttrsToList (formatDictLine "c.url.searchengines") cfg.searchEngines
|
||||
++ mapAttrsToList (formatDictLine "c.bindings.key_mappings")
|
||||
cfg.keyMappings
|
||||
++ optional (!cfg.enableDefaultBindings) [ "c.bindings.default = {}" ]
|
||||
++ optional (!cfg.enableDefaultBindings) "c.bindings.default = {}"
|
||||
++ mapAttrsToList formatKeyBindings cfg.keyBindings
|
||||
++ optional (cfg.extraConfig != "") cfg.extraConfig);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user