2023-05-18 12:07:07 +02:00
|
|
|
{ config, lib, pkgs, materusPkgs, ... }:
|
|
|
|
let
|
|
|
|
cfg = config.materus.profile.browser;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
|
|
|
|
options= let mkBoolOpt = materusPkgs.lib.mkBoolOpt; in{
|
|
|
|
materus.profile.browser.firefox.enable = mkBoolOpt config.materus.profile.enableDesktop "Enable Firefox with materus cfg";
|
2023-06-08 18:24:48 +02:00
|
|
|
materus.profile.browser.vivaldi.enable = mkBoolOpt config.materus.profile.enableDesktop "Enable Vivaldi with materus cfg";
|
2023-05-18 12:07:07 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
#TODO: Make some config
|
|
|
|
config.home.packages = [
|
|
|
|
(lib.mkIf cfg.firefox.enable config.materus.profile.packages.firefox)
|
|
|
|
(lib.mkIf cfg.vivaldi.enable pkgs.vivaldi)
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
}
|