144 lines
4 KiB
Nix
144 lines
4 KiB
Nix
{ config, pkgs, lib, inputs, ... }:
|
|
let
|
|
# Firefox Profile Setting States
|
|
lock-false = {
|
|
Value = false;
|
|
Status = "locked";
|
|
};
|
|
lock-true = {
|
|
Value = true;
|
|
Status = "locked";
|
|
};
|
|
lock-empty-string = {
|
|
Value = "";
|
|
Status = "locked";
|
|
};
|
|
in {
|
|
home.username = "kb";
|
|
home.homeDirectory = "/home/kb";
|
|
home.packages = with pkgs; [
|
|
# System
|
|
kdePackages.kate
|
|
kdePackages.kcalc
|
|
kdePackages.filelight
|
|
# Office
|
|
thunderbird
|
|
libreoffice
|
|
logseq
|
|
kmymoney
|
|
# Security
|
|
gnupg
|
|
keepassxc
|
|
pass-wayland
|
|
veracrypt
|
|
protonvpn-gui
|
|
# Media
|
|
freetube
|
|
inkscape
|
|
blender
|
|
obs-studio
|
|
cheese
|
|
gimp
|
|
vlc
|
|
kid3
|
|
calibre
|
|
tidal-hifi
|
|
transmission_4-qt
|
|
# Messengers
|
|
element-desktop # Matrix Client
|
|
signal-desktop
|
|
webcord
|
|
# Customization
|
|
firefoxpwa
|
|
# Development
|
|
vscodium
|
|
# Gaming
|
|
mangohud
|
|
prismlauncher
|
|
# Terminal Tools
|
|
mosh # Fast SSH
|
|
btop # Task Mgr
|
|
fastfetch # System Info
|
|
yazi # File Management
|
|
taskwarrior3 # Task Manager
|
|
zk # Notetaking
|
|
parted
|
|
];
|
|
|
|
services.syncthing.enable = true;
|
|
services.syncthing.extraOptions = [
|
|
"--config=/home/kb/.config/syncthing"
|
|
"--data=/home/kb/sync"
|
|
];
|
|
|
|
services.gpg-agent.enable = true;
|
|
|
|
programs.firefox = {
|
|
enable = true;
|
|
nativeMessagingHosts = [ pkgs.firefoxpwa ];
|
|
policies = {
|
|
DisableTelemetry = true;
|
|
DisableFirefoxStudies = true;
|
|
DisablePocket = true;
|
|
DisableFirefoxAccounts = true;
|
|
AutofillAddressEnabled = false;
|
|
AutofillCreditCardEnabled = false;
|
|
OfferToSaveLogins = false;
|
|
FirefoxHome.TopSites = false;
|
|
FirefoxHome.SponsoredTopSites = false;
|
|
Preferences = {
|
|
"browser.newtabpage.pinned" = lock-empty-string;
|
|
"browser.topsites.contile.enabled" = lock-false;
|
|
};
|
|
DontCheckDefaultBrowser = true;
|
|
DisableProfileImport = true;
|
|
SearchBar = "unified";
|
|
SearchEngines.Add = [ # Only Available in ESR Releases https://mozilla.github.io/policy-templates/#searchengines--add
|
|
{
|
|
Name = "Brave";
|
|
URLTemplate = "https://search.brave.com/search?q={SearchTerms}";
|
|
Alias = "br";
|
|
}
|
|
];
|
|
ExtensionSettings = { # See https://mozilla.github.io/policy-templates/#extensionsettings
|
|
"extension@tabliss.io" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/3940751/tabliss-2.6.0.xpi";
|
|
installation_mode = "normal_installed";
|
|
};
|
|
"idcac-pub@guus.ninja" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4216095/istilldontcareaboutcookies-1.1.4.xpi";
|
|
installation_mode = "normal_installed";
|
|
};
|
|
"uBlock0@raymondhill.net" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4391011/ublock_origin-1.61.2.xpi";
|
|
installation_mode = "normal_installed";
|
|
};
|
|
"keepassxc-browser@keepassxc.org" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4395146/keepassxc_browser-1.9.5.xpi";
|
|
installation_mode = "normal_installed";
|
|
};
|
|
"offline-qr-code@rugk.github.io" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4349427/offline_qr_code_generator-1.9.xpi";
|
|
installation_mode = "normal_installed";
|
|
};
|
|
"addon@darkreader.org" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4405074/darkreader-4.9.99.xpi";
|
|
installation_mode = "normal_installed";
|
|
};
|
|
"firefoxpwa@filips.si" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4383345/pwas_for_firefox-2.13.1.xpi";
|
|
installation_mode = "normal_installed";
|
|
};
|
|
};
|
|
Bookmarks = [
|
|
{
|
|
Title = "Syncthing";
|
|
URL = "localhost:8384";
|
|
Placement = "toolbar";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
home.stateVersion = "24.05";
|
|
}
|