feat(browser): move to zen
This commit is contained in:
@@ -12,6 +12,7 @@ lib.my.makeSwitch {
|
||||
firefox.enable = true;
|
||||
librewolf.enable = true;
|
||||
chromium.enable = true;
|
||||
zen.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -50,5 +50,8 @@ lib.my.makeHomeProgramConfig {
|
||||
"--wayland-text-input-version=3"
|
||||
];
|
||||
};
|
||||
my.persist.homeDirs = [
|
||||
".config/chromium"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
./firefox.nix
|
||||
./librewolf.nix
|
||||
./chromium.nix
|
||||
./zen.nix
|
||||
];
|
||||
}
|
||||
|
||||
29
modules/desktop/browser/zen.nix
Normal file
29
modules/desktop/browser/zen.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.my.makeHomeProgramConfig {
|
||||
inherit config;
|
||||
programName = "zen-browser";
|
||||
optionPath = [
|
||||
"desktop"
|
||||
"browser"
|
||||
"zen"
|
||||
];
|
||||
extraConfig = {
|
||||
my.home.programs.zen-browser = {
|
||||
enable = true;
|
||||
nativeMessagingHosts = [ pkgs.firefoxpwa ];
|
||||
policies = {
|
||||
# find more options here: https://mozilla.github.io/policy-templates/
|
||||
DisableAppUpdate = true;
|
||||
DisableTelemetry = true;
|
||||
};
|
||||
};
|
||||
my.persist.homeDirs = [
|
||||
".zen"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user