fix(zen): XDG migration check
This commit is contained in:
@@ -14,10 +14,18 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
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 = {
|
my.hm.programs.zen-browser = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nativeMessagingHosts = [ pkgs.firefoxpwa ];
|
nativeMessagingHosts = [ pkgs.firefoxpwa ];
|
||||||
suppressXdgMigrationWarning = hostname == "imxyy-nix";
|
|
||||||
policies = {
|
policies = {
|
||||||
# find more options here: https://mozilla.github.io/policy-templates/
|
# find more options here: https://mozilla.github.io/policy-templates/
|
||||||
DisableAppUpdate = true;
|
DisableAppUpdate = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user