mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
77 lines
1.7 KiB
Nix
77 lines
1.7 KiB
Nix
{ pkgs, lib, config, osConfig, ... }:
|
|
let color = config.lib.stylix.colors.withHashtag;
|
|
in with lib; {
|
|
options.mods.desktop.productivity.enable =
|
|
lib.mkEnableOption "enables gui productivity tools";
|
|
|
|
config = lib.mkIf config.mods.desktop.productivity.enable {
|
|
home.packages = with pkgs; [
|
|
# ISO downloader
|
|
qbittorrent
|
|
xd
|
|
biglybt
|
|
# transmission_4-gtk
|
|
|
|
# email
|
|
thunderbird
|
|
|
|
# webgl
|
|
chromium
|
|
mullvad-browser
|
|
|
|
# password manager
|
|
bitwarden-desktop
|
|
|
|
# file management
|
|
breeze-icons
|
|
libsForQt5.qt5ct
|
|
dolphin
|
|
|
|
# documents
|
|
# texliveFull
|
|
# texstudio
|
|
];
|
|
|
|
qt.platformTheme = "qt5ct";
|
|
|
|
home.sessionVariables.BROWSER = "librewolf";
|
|
programs.zsh.sessionVariables.BROWSER = "librewolf";
|
|
|
|
services.flameshot = {
|
|
enable = false;
|
|
settings = {
|
|
General = {
|
|
disabledTrayIcon = true;
|
|
showStartupLaunchMessage = false;
|
|
startupLaunch = false;
|
|
|
|
uiColor = color.base01;
|
|
contrastUiColor = color.base00;
|
|
};
|
|
};
|
|
};
|
|
|
|
programs.librewolf = {
|
|
enable = false;
|
|
settings = {
|
|
"webgl.disabled" = true;
|
|
"privacy.resistFingerprinting" = true;
|
|
"privacy.clearOnShutdown.history" = false;
|
|
"privacy.clearOnShutdown.cookies" = false;
|
|
"network.cookie.lifetimePolicy" = 0;
|
|
};
|
|
};
|
|
|
|
xdg.desktopEntries = lib.mkIf osConfig.mods.i2p.enable {
|
|
i2p-browser = {
|
|
name = "i2p Browser";
|
|
genericName = "Web Browser";
|
|
exec = "${pkgs.mullvad-browser}/bin/mullvad-browser -p i2p";
|
|
};
|
|
};
|
|
|
|
# programs.qutebrowser = {
|
|
# enable = true;
|
|
# };
|
|
};
|
|
}
|