aux-config/homes/x86_64-linux/kb@Ohybke/default.nix
kB01 27b57e4949
All checks were successful
/ Check Nix Flake (push) Successful in 1m55s
Enabled SafeEyes
2025-02-18 21:48:51 +01:00

149 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
kate
kdePackages.kcalc
# Office
thunderbird
libreoffice-qt6-fresh
logseq
# Security
gnupg
keepassxc
pass-wayland
veracrypt
protonvpn-gui
# Media
freetube
inkscape
blender
obs-studio
cheese
gimp
vlc
kid3
#calibre
spotify-player
tidal-hifi
# Messengers
element-desktop # Matrix Client
telegram-desktop
signal-desktop
webcord
# Customization
razergenie
firefoxpwa
# Development
vscodium
scrcpy
# Experiments
yazi # Terminal File-Manager
# Gaming
ryujinx # Experimental Nitendo Switch Emulator
mangohud
prismlauncher
# Terminal Tools
mosh
btop
fastfetch
];
services.syncthing.enable = true;
services.syncthing.extraOptions = [
"--config=/home/kb/.config/syncthing"
"--data=/home/kb/sync"
];
services.kdeconnect.enable = true;
services.safeeyes.enable = true;
services.gpg-agent.enable = true;
services.ssh-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";
};
"gdpr@cavi.au.dk" = {
install_url = "https://addons.mozilla.org/firefox/downloads/file/4362793/consent_o_matic-1.1.3.xpi";
installation_mode = "normal_installed";
};
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/file/4382536/ublock_origin-1.61.0.xpi";
installation_mode = "normal_installed";
};
"keepassxc-browser@keepassxc.org" = {
install_url = "https://addons.mozilla.org/firefox/downloads/file/4376326/keepassxc_browser-1.9.4.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/4378073/darkreader-4.9.96.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";
}