workflows/a-happy-gnome: reformat

This commit is contained in:
Gabriel Arazas 2024-01-06 19:16:32 +08:00
parent 65f6e90d6c
commit 0cb9d89b03
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -115,44 +115,42 @@ in
# Bring all of the dconf keyfiles in there. # Bring all of the dconf keyfiles in there.
programs.dconf = { programs.dconf = {
enable = true; enable = true;
profiles = { profiles.user.databases = lib.singleton {
user.databases = lib.singleton { # Get them keyfiles.
# Get them keyfiles. keyfiles = [ ./config/dconf ];
keyfiles = [ ./config/dconf ];
settings = lib.mkMerge [ settings = lib.mkMerge [
{ {
"org/gnome/desktop/search-providers" = { "org/gnome/desktop/search-providers" = {
disabled = [ disabled = [
"org.gnome.seahorse.Application.desktop" "org.gnome.seahorse.Application.desktop"
"org.gnome.Photos.desktop" "org.gnome.Photos.desktop"
"org.gnome.Epiphany.desktop" "org.gnome.Epiphany.desktop"
"app.drey.Dialect.desktop" "app.drey.Dialect.desktop"
"com.belmoussaoui.Authenticator.desktop" "com.belmoussaoui.Authenticator.desktop"
]; ];
}; };
"org/gnome/shell" = { "org/gnome/shell" = {
enabled-extensions = builtins.map (p: p.extensionUuid) cfg.shellExtensions; enabled-extensions = builtins.map (p: p.extensionUuid) cfg.shellExtensions;
}; };
} }
# Disable all of the messenger's notification (only the annoying # Disable all of the messenger's notification (only the annoying
# ones). # ones).
(lib.listToAttrs (lib.listToAttrs
(builtins.map (builtins.map
(app: (app:
lib.nameValuePair lib.nameValuePair
"org/gnome/desktop/notifications/application/${app}" "org/gnome/desktop/notifications/application/${app}"
{ show-banners = false; }) { show-banners = false; })
[ [
"re-sonny-tangram" "re-sonny-tangram"
"org-gnome-polari" "org-gnome-polari"
"io-github-hexchat" "io-github-hexchat"
"org-gnome-evolution-alarm-notify" "org-gnome-evolution-alarm-notify"
"thunderbird" "thunderbird"
])) ]))
]; ];
};
}; };
}; };