Refactor the whole configuration #1

Merged
caem merged 354 commits from refactor into master 2025-02-01 14:05:16 +01:00
Showing only changes of commit eeffb012dd - Show all commits

View file

@ -1,9 +1,8 @@
let
mkPreferences = prefs: builtins.concatStringsSep
"\n"
(map
(p: ''user_pref("${p}", ${builtins.toJSON prefs.${p}});'')
(builtins.attrNames prefs));
(builtins.mapAttrs
(name: value: "user_pref(\"${name}\", \"${value}\");"));
in
mkPreferences {
prefs = {