fix(zen): XDG migration check

This commit is contained in:
2026-02-24 16:50:17 +08:00
parent 1c999a538a
commit 07a47245ad
+9 -1
View File
@@ -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;