b447282c7a
* feat: add test node and spin up podman/cockpit * dev hack * bug: disable wayland temporarily #52 * feat: add nfs mount to nas * chore: add nas to sshconf * derp * hax * fix: hax * feat: firefox and gnome tweaks * chore: tweak nautilus --------- Co-authored-by: Truxnell <9149206+truxnell@users.noreply.github.com>
45 lines
924 B
Nix
45 lines
924 B
Nix
{ lib
|
|
, config
|
|
, self
|
|
, pkgs
|
|
, osConfig
|
|
, ...
|
|
}:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.myHome.programs.firefox;
|
|
in
|
|
{
|
|
options.myHome.programs.firefox.enable = mkEnableOption "Firefox";
|
|
|
|
config = mkIf cfg.enable
|
|
{
|
|
|
|
programs.firefox = {
|
|
enable = true;
|
|
package = pkgs.firefox.override
|
|
{
|
|
extraPolicies = {
|
|
DontCheckDefaultBrowser = true;
|
|
DisablePocket = true;
|
|
# See nixpkgs' firefox/wrapper.nix to check which options you can use
|
|
nativeMessagingHosts = [
|
|
# Gnome shell native connector
|
|
pkgs.gnome-browser-connector
|
|
# plasma connector
|
|
# plasma5Packages.plasma-browser-integration
|
|
];
|
|
};
|
|
};
|
|
policies = import ./policies.nix;
|
|
|
|
profiles.default = import ./profile-default.nix { inherit pkgs; };
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|
|
}
|