fix(zen): XDG migration check
This commit is contained in:
@@ -14,10 +14,18 @@ in
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = hostname == "imxyy-nix";
|
||||
message = "XDG migration not done! Check
|
||||
https://github.com/0xc000022070/zen-browser-flake?tab=readme-ov-file#missing-configuration-after-update
|
||||
for details";
|
||||
}
|
||||
];
|
||||
|
||||
my.hm.programs.zen-browser = {
|
||||
enable = true;
|
||||
nativeMessagingHosts = [ pkgs.firefoxpwa ];
|
||||
suppressXdgMigrationWarning = hostname == "imxyy-nix";
|
||||
policies = {
|
||||
# find more options here: https://mozilla.github.io/policy-templates/
|
||||
DisableAppUpdate = true;
|
||||
|
||||
Reference in New Issue
Block a user