Brave and Librewolf are now installed by home manager and their native hosts are configured with home manager too

This commit is contained in:
EsVagy42 2025-11-04 22:28:00 +01:00
parent 32d03ebd00
commit d19a7e82c0
4 changed files with 23 additions and 17 deletions

View file

@ -1 +1 @@
Added brave Brave and Librewolf are now installed by home manager and their native hosts are configured with home manager too

View file

@ -33,8 +33,6 @@ let
maliit-keyboard maliit-keyboard
espeak espeak
librewolf
brave
kdePackages.plasma-browser-integration kdePackages.plasma-browser-integration
kdePackages.xdg-desktop-portal-kde kdePackages.xdg-desktop-portal-kde

View file

@ -1,4 +1,9 @@
{ config, pkgs, lib, ... }: {
config,
pkgs,
lib,
...
}:
{ {
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
@ -35,7 +40,9 @@
}; };
}; };
home.file.".config/konsolerc" = { source = ./konsole/konsolerc; }; home.file.".config/konsolerc" = {
source = ./konsole/konsolerc;
};
home.file.".local/share/konsole/Konsole.profile" = { home.file.".local/share/konsole/Konsole.profile" = {
source = ./konsole/Konsole.profile; source = ./konsole/Konsole.profile;
@ -51,15 +58,23 @@
recursive = true; recursive = true;
}; };
home.file.".config/mimeapps.list" = { source = ./mimeapps/mimeapps.list; }; home.file.".config/mimeapps.list" = {
source = ./mimeapps/mimeapps.list;
home.file.".librewolf/native-messaging-hosts" = {
source = ./librewolf/native-messaging-hosts;
recursive = true;
}; };
home.file.".local/share/applications" = { home.file.".local/share/applications" = {
source = ./shortcuts; source = ./shortcuts;
recursive = true; recursive = true;
}; };
programs = {
librewolf = {
enable = true;
nativeMessagingHosts = [ pkgs.kdePackages.plasma-browser-integration ];
};
brave = {
enable = true;
nativeMessagingHosts = [ pkgs.kdePackages.plasma-browser-integration ];
};
};
} }

View file

@ -1,7 +0,0 @@
{
"name": "org.kde.plasma.browser_integration",
"description": "Native connector for KDE Plasma",
"path": "/run/current-system/sw/bin/plasma-browser-integration-host",
"type": "stdio",
"allowed_extensions": ["plasma-browser-integration@kde.org"]
}