Files
nix-flake/old-config/global-configs/zen-browser.nix
T

29 lines
598 B
Nix

{
pkgs,
inputs,
lib,
...
}: let
firefox-addons = with pkgs; inputs.firefox-addons.packages.${system};
in {
imports = [
inputs.zen-browser.homeModules.beta
];
home.activation = {
linkZenConfig = lib.hm.dag.entryAfter ["writeBoundary"] ''
#!/bin/bash
if [ -d /home/grey/.config/zen ]; then
rm -rf /home/grey/.config/zen
fi
ln -s /home/grey/nixos/assets/dotfiles/zen-config /home/grey/.config/zen
'';
};
programs.zen-browser = {
enable = true;
setAsDefaultBrowser = true;
nativeMessagingHosts = [ pkgs.firefoxpwa ];
};
}