mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 05:24:34 +00:00
Add mullvad browser
This commit is contained in:
parent
fe885f3d4b
commit
1a6c2414e8
|
@ -1,6 +1,7 @@
|
||||||
_: {
|
_: {
|
||||||
imports = [
|
imports = [
|
||||||
./chromium
|
./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 = {
|
programs = {
|
||||||
browsers = {
|
browsers = {
|
||||||
chromium.enable = true;
|
chromium.enable = true;
|
||||||
|
mullvad-browser.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
spotify.enable = true;
|
spotify.enable = true;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue