cleanup xdg and dconf configs

This commit is contained in:
Adithya 2024-04-28 22:09:40 +05:30
parent 04df97ed78
commit c220bc1b15
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 4 additions and 7 deletions

View file

@ -10,10 +10,10 @@ _: {
enable = true; enable = true;
defaultApplications = { defaultApplications = {
"application/pdf" = [ "org.gnome.Evince.desktop" ]; "application/pdf" = [ "org.gnome.Evince.desktop" ];
"image/gif" = [ "org.gnome.eog.desktop" ]; "image/gif" = [ "org.gnome.Loupe.desktop" ];
"image/jpeg" = [ "org.gnome.eog.desktop" ]; "image/jpeg" = [ "org.gnome.Loupe.desktop" ];
"image/png" = [ "org.gnome.eog.desktop" ]; "image/png" = [ "org.gnome.Loupe.desktop" ];
"image/webp" = [ "org.gnome.eog.desktop" ]; "image/webp" = [ "org.gnome.Loupe.desktop" ];
"x-scheme-handler/tg" = [ "org.telegram.desktop.desktop" ]; "x-scheme-handler/tg" = [ "org.telegram.desktop.desktop" ];
"x-scheme-handler/magnet" = [ "io.github.TransmissionRemoteGtk.desktop" ]; "x-scheme-handler/magnet" = [ "io.github.TransmissionRemoteGtk.desktop" ];
}; };

View file

@ -1,9 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = [ pkgs.gnome.nautilus ]; home.packages = [ pkgs.gnome.nautilus ];
dconf.settings = { dconf.settings = {
"io/elementary/files/preferences" = {
singleclick-select = true;
};
"org/gtk/gtk4/settings/file-chooser" = { "org/gtk/gtk4/settings/file-chooser" = {
sort-directories-first = true; sort-directories-first = true;
}; };