Add flatpak autoupdate and set Zen as default browser
This commit is contained in:
parent
91d06b500d
commit
0f48f2e29f
2 changed files with 39 additions and 20 deletions
|
|
@ -152,16 +152,16 @@
|
||||||
"x-scheme-handler/discord-402572971681644545" = [ "discord-402572971681644545.desktop" ];
|
"x-scheme-handler/discord-402572971681644545" = [ "discord-402572971681644545.desktop" ];
|
||||||
"application/pdf" = [ "org.gnome.Evince.desktop" ];
|
"application/pdf" = [ "org.gnome.Evince.desktop" ];
|
||||||
"x-scheme-handler/magnet" = [ "userapp-transmission-gtk-B3E3L2.desktop" ];
|
"x-scheme-handler/magnet" = [ "userapp-transmission-gtk-B3E3L2.desktop" ];
|
||||||
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
"x-scheme-handler/http" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
"x-scheme-handler/https" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"x-scheme-handler/chrome" = [ "firefox.desktop" ];
|
"x-scheme-handler/chrome" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"text/html" = [ "firefox.desktop" ];
|
"text/html" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/x-extension-htm" = [ "firefox.desktop" ];
|
"application/x-extension-htm" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/x-extension-html" = [ "firefox.desktop" ];
|
"application/x-extension-html" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/x-extension-shtml" = [ "firefox.desktop" ];
|
"application/x-extension-shtml" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/xhtml+xml" = [ "firefox.desktop" ];
|
"application/xhtml+xml" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/x-extension-xhtml" = [ "firefox.desktop" ];
|
"application/x-extension-xhtml" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/x-extension-xht" = [ "firefox.desktop" ];
|
"application/x-extension-xht" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"image/png" = [ "org.gnome.eog.desktop" ];
|
"image/png" = [ "org.gnome.eog.desktop" ];
|
||||||
"image/svg+xml" = [ "org.inkscape.Inkscape.desktop" ];
|
"image/svg+xml" = [ "org.inkscape.Inkscape.desktop" ];
|
||||||
"image/jpeg" = [ "org.gnome.eog.desktop" ];
|
"image/jpeg" = [ "org.gnome.eog.desktop" ];
|
||||||
|
|
@ -170,16 +170,16 @@
|
||||||
associations.added = {
|
associations.added = {
|
||||||
"application/pdf" = [ "org.gnome.Evince.desktop" ];
|
"application/pdf" = [ "org.gnome.Evince.desktop" ];
|
||||||
"x-scheme-handler/magnet" = [ "userapp-transmission-gtk-B3E3L2.desktop" ];
|
"x-scheme-handler/magnet" = [ "userapp-transmission-gtk-B3E3L2.desktop" ];
|
||||||
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
"x-scheme-handler/http" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
"x-scheme-handler/https" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"x-scheme-handler/chrome" = [ "firefox.desktop" ];
|
"x-scheme-handler/chrome" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"text/html" = [ "firefox.desktop" ];
|
"text/html" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/x-extension-htm" = [ "firefox.desktop" ];
|
"application/x-extension-htm" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/x-extension-html" = [ "firefox.desktop" ];
|
"application/x-extension-html" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/x-extension-shtml" = [ "firefox.desktop" ];
|
"application/x-extension-shtml" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/xhtml+xml" = [ "firefox.desktop" ];
|
"application/xhtml+xml" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/x-extension-xhtml" = [ "firefox.desktop" ];
|
"application/x-extension-xhtml" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"application/x-extension-xht" = [ "firefox.desktop" ];
|
"application/x-extension-xht" = [ "app.zen_browser.zen.desktop" ];
|
||||||
"image/png" = [ "org.gnome.eog.desktop" ];
|
"image/png" = [ "org.gnome.eog.desktop" ];
|
||||||
"application/x-partial-download" = [ "mpv.desktop" ];
|
"application/x-partial-download" = [ "mpv.desktop" ];
|
||||||
"image/svg+xml" = [ "org.inkscape.Inkscape.desktop" ];
|
"image/svg+xml" = [ "org.inkscape.Inkscape.desktop" ];
|
||||||
|
|
|
||||||
|
|
@ -494,6 +494,25 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.flatpak-update = {
|
||||||
|
description = "Update Flatpak apps";
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
};
|
||||||
|
script = ''
|
||||||
|
${pkgs.flatpak}/bin/flatpak update -y --noninteractive
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.timers.flatpak-update = {
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
|
timerConfig = {
|
||||||
|
OnCalendar = "daily";
|
||||||
|
RandomizedDelaySec = "1h";
|
||||||
|
Persistent = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue