GNOME: Difference between revisions
m Added explanation to dconf settings. Please expand and correct me. |
m removed blank line |
||
(2 intermediate revisions by the same user not shown) | |||
Line 74: | Line 74: | ||
}; | }; | ||
# Configure individual extensions | # Configure individual extensions | ||
"org/gnome/shell/extensions/blur-my-shell" = { | "org/gnome/shell/extensions/blur-my-shell" = { | ||
Line 98: | Line 97: | ||
{ | { | ||
dconf.settings = { | dconf.settings = { | ||
enable = true; | |||
# You need quotes to escape '/' | # You need quotes to escape '/' | ||
"org/gnome/desktop/interface" = { | "org/gnome/desktop/interface" = { | ||
clock-show-weekday = true; | |||
}; | }; | ||
}; | }; | ||
Line 126: | Line 127: | ||
</nowiki>}} | </nowiki>}} | ||
{{Note|Since dconf have more data types than Nix language (for example, tuples), in some cases you'll need to convert Nix value to a GVariant value. You can achieve that by using function defined in <code>lib.gvariant</code>, | {{Note|Since dconf have more data types than Nix language (for example, tuples), in some cases you'll need to convert Nix value to a GVariant value. You can achieve that by using function defined in <code>lib.gvariant</code>, they're documented [https://nixos.org/manual/nixpkgs/stable/#sec-functions-library-gvariant here].}} | ||
=== Dark mode === | === Dark mode === |