Add mullvad browser

This commit is contained in:
ItsDrike 2024-06-10 22:22:16 +02:00
parent fe885f3d4b
commit 1a6c2414e8
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
4 changed files with 19 additions and 0 deletions

View file

@ -1,6 +1,7 @@
_: { _: {
imports = [ imports = [
./chromium ./chromium
./mullvad
]; ];
} }

View file

@ -0,0 +1,16 @@
{
lib,
osConfig,
pkgs,
...
}: let
inherit (lib) mkIf;
cfg = osConfig.myOptions.home-manager.programs.browsers.mullvad-browser;
in {
config = mkIf cfg.enable {
home.packages = with pkgs; [
mullvad-browser
];
};
}

View file

@ -97,6 +97,7 @@
programs = { programs = {
browsers = { browsers = {
chromium.enable = true; chromium.enable = true;
mullvad-browser.enable = true;
}; };
spotify.enable = true; spotify.enable = true;

View file

@ -21,6 +21,7 @@ in
browsers = { browsers = {
chromium.enable = mkEnableOption "Chromium browser"; chromium.enable = mkEnableOption "Chromium browser";
mullvad-browser.enable = mkEnableOption "Mullvad browser";
}; };
spotify.enable = mkEnableOption "Spotify"; spotify.enable = mkEnableOption "Spotify";