[Desktop+Programs] move firefox configuration to programs.firefox

Convert all Gnome and Plasma specific configuration to use the new
programs.firefox.*
This commit is contained in:
Antoine Viallon 2024-04-05 12:42:19 +02:00
parent 2bc54d0c0e
commit 9e6a0fc11d
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
4 changed files with 22 additions and 28 deletions

View file

@ -26,6 +26,12 @@ in {
"e ${config.users.users.sddm.home}/.cache/sddm-greeter/qmlcache/ - - - 0"
"x ${config.users.users.sddm.home}/.cache"
];
programs.firefox.enable = true;
# Already brought in by ${nixpkgs}/nixos/modules/services/x11/desktop-managers/plasma5.nix
# programs.firefox.nativeMessagingHosts.packages = [ pkgs.libsForQt5.plasma-browser-integration ];
programs.firefox.policies.Extensions.Install = [ "plasma-browser-integration@kde.org" ];
environment.etc = {
"chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json".source =
@ -93,12 +99,8 @@ in {
kolourpaint
krdc
sddm-kcm
myFirefox
];
aviallon.desktop.browser.firefox.overrides.enablePlasmaBrowserIntegration = true;
aviallon.programs.libreoffice.qt = true;
xdg.portal.enable = mkDefault true;