mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 06:04:33 +00:00
Add mullvad browser
This commit is contained in:
parent
fe885f3d4b
commit
1a6c2414e8
|
@ -1,6 +1,7 @@
|
|||
_: {
|
||||
imports = [
|
||||
./chromium
|
||||
./mullvad
|
||||
];
|
||||
}
|
||||
|
||||
|
|
16
home/programs/graphical/browsers/mullvad/default.nix
Normal file
16
home/programs/graphical/browsers/mullvad/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -97,6 +97,7 @@
|
|||
programs = {
|
||||
browsers = {
|
||||
chromium.enable = true;
|
||||
mullvad-browser.enable = true;
|
||||
};
|
||||
|
||||
spotify.enable = true;
|
||||
|
|
|
@ -21,6 +21,7 @@ in
|
|||
|
||||
browsers = {
|
||||
chromium.enable = mkEnableOption "Chromium browser";
|
||||
mullvad-browser.enable = mkEnableOption "Mullvad browser";
|
||||
};
|
||||
|
||||
spotify.enable = mkEnableOption "Spotify";
|
||||
|
|
Loading…
Reference in a new issue