home-profile: update browser setting

This commit is contained in:
Mateusz Słodkowicz 2023-07-03 21:51:16 +02:00
parent be0e3ab303
commit 377806748f
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 3 additions and 1 deletions

View File

@ -6,13 +6,15 @@ in
options= let mkBoolOpt = materusPkgs.lib.mkBoolOpt; in{ options= let mkBoolOpt = materusPkgs.lib.mkBoolOpt; in{
materus.profile.browser.firefox.enable = mkBoolOpt config.materus.profile.enableDesktop "Enable Firefox with materus cfg"; materus.profile.browser.firefox.enable = mkBoolOpt config.materus.profile.enableDesktop "Enable Firefox with materus cfg";
materus.profile.browser.vivaldi.enable = mkBoolOpt config.materus.profile.enableDesktop "Enable Vivaldi with materus cfg"; materus.profile.browser.vivaldi.enable = mkBoolOpt false "Enable Vivaldi with materus cfg";
materus.profile.browser.brave.enable = mkBoolOpt config.materus.profile.enableDesktop "Enable Brave with materus cfg";
}; };
#TODO: Make some config #TODO: Make some config
config.home.packages = [ config.home.packages = [
(lib.mkIf cfg.firefox.enable config.materus.profile.packages.firefox) (lib.mkIf cfg.firefox.enable config.materus.profile.packages.firefox)
(lib.mkIf cfg.vivaldi.enable pkgs.vivaldi) (lib.mkIf cfg.vivaldi.enable pkgs.vivaldi)
(lib.mkIf cfg.brave.enable pkgs.brave)
]; ];