mirror of
https://github.com/larstvei/nix-config.git
synced 2025-09-15 11:30:13 +00:00
50 lines
1.0 KiB
Nix
50 lines
1.0 KiB
Nix
{ pkgs, zen-browser, ... }:
|
|
{
|
|
|
|
home.packages = [
|
|
pkgs.adwaita-icon-theme
|
|
pkgs.brightnessctl
|
|
pkgs.pamixer
|
|
pkgs.wtype
|
|
];
|
|
|
|
imports = [
|
|
zen-browser.homeModules.beta
|
|
./hyprland
|
|
];
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = [
|
|
pkgs.xdg-desktop-portal-hyprland
|
|
pkgs.xdg-desktop-portal-gtk
|
|
];
|
|
config.hyprland."org.freedesktop.impl.portal.Settings" = "darkman";
|
|
};
|
|
|
|
services.darkman = {
|
|
enable = true;
|
|
settings.portal = true;
|
|
};
|
|
|
|
programs.zen-browser = {
|
|
enable = true;
|
|
policies = {
|
|
DisableAppUpdate = true;
|
|
DisableTelemetry = true;
|
|
|
|
AutofillAddressesEnabled = false;
|
|
AutoFillCreditCardEnabled = false;
|
|
DisablePocket = true;
|
|
DisableProfileImport = true;
|
|
DisableSetDesktopBackground = true;
|
|
DontCheckDefaultBrowser = true;
|
|
HomepageURL = "https://start.hadi.diy";
|
|
StartPage = "homepage";
|
|
NewTabPage = true;
|
|
OfferToSaveLogins = false;
|
|
# find more options here: https://mozilla.github.io/policy-templates/
|
|
};
|
|
};
|
|
}
|