add chromium but keep librewolf as default
This commit is contained in:
parent
ac6d6df7a0
commit
b820d35d0a
2 changed files with 28 additions and 1 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
{ self, inputs, ... }:
|
{
|
||||||
|
self,
|
||||||
|
inputs,
|
||||||
|
hjem,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
flake.nixosModules.librewolf =
|
flake.nixosModules.librewolf =
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
|
|
@ -37,6 +43,26 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hjem.users."${config.username}" = {
|
||||||
|
xdg.mime-apps.default-applications = {
|
||||||
|
"text/html" = [
|
||||||
|
"librewolf.desktop"
|
||||||
|
];
|
||||||
|
"x-scheme-handler/http" = [
|
||||||
|
"librewolf.desktop"
|
||||||
|
];
|
||||||
|
"x-scheme-handler/https" = [
|
||||||
|
"librewolf.desktop"
|
||||||
|
];
|
||||||
|
"x-scheme-handler/about" = [
|
||||||
|
"librewolf.desktop"
|
||||||
|
];
|
||||||
|
"x-scheme-handler/unknown" = [
|
||||||
|
"librewolf.desktop"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment.etc."firefox/policies/policies.json".target = "librewolf/policies/policies.json";
|
environment.etc."firefox/policies/policies.json".target = "librewolf/policies/policies.json";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@
|
||||||
pavucontrol
|
pavucontrol
|
||||||
keepassxc
|
keepassxc
|
||||||
amberol
|
amberol
|
||||||
|
chromium
|
||||||
(element-desktop.override {
|
(element-desktop.override {
|
||||||
commandLineArgs = "--password-store=gnome-libsecret";
|
commandLineArgs = "--password-store=gnome-libsecret";
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue