mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
users/foo-dogsquared: refactor browser configuration
This commit is contained in:
parent
bdeccc3c08
commit
4ebaca7a13
@ -2,6 +2,8 @@
|
||||
{ config, lib, pkgs, osConfig ? { }, ... }:
|
||||
|
||||
{
|
||||
config = lib.mkMerge [
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
google-chrome-dev
|
||||
nyxt
|
||||
@ -31,9 +33,11 @@
|
||||
{ id = "nglaklhklhcoonedhgnpgddginnjdadi"; } # ActivityWatch Web Watcher
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
(lib.mkIf (osConfig ? programs.firefox.enable -> !osConfig.programs.firefox.enable) {
|
||||
# Despite the name, it isn't a browser for furries.
|
||||
programs.firefox = lib.mkIf (osConfig ? programs.firefox.enable -> !osConfig.programs.firefox.enable) {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
||||
package = with pkgs; wrapFirefox firefox-unwrapped {
|
||||
@ -176,4 +180,6 @@
|
||||
|
||||
# Configuring Tridactyl.
|
||||
xdg.configFile.tridactyl.source = ../config/tridactyl;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user