feat(browser): move to zen

This commit is contained in:
2025-06-02 16:35:53 +08:00
parent 2d85716642
commit 2fdf5aa8fe
8 changed files with 88 additions and 12 deletions

View File

@@ -12,6 +12,7 @@ lib.my.makeSwitch {
firefox.enable = true;
librewolf.enable = true;
chromium.enable = true;
zen.enable = true;
};
};
}

View File

@@ -50,5 +50,8 @@ lib.my.makeHomeProgramConfig {
"--wayland-text-input-version=3"
];
};
my.persist.homeDirs = [
".config/chromium"
];
};
}

View File

@@ -4,5 +4,6 @@
./firefox.nix
./librewolf.nix
./chromium.nix
./zen.nix
];
}

View 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"
];
};
}