{ lib, inputs, config, pkgs, username, version, hyprlandEnabled, ... }: { # Home Manager needs a bit of information about you and the # paths it should manage. home.username = username; home.homeDirectory = "/home/${username}"; imports = [ inputs.zen-browser.homeModules.beta # or inputs.zen-browser.homeModules.twilight # or inputs.zen-browser.homeModules.twilight-official ./neovim-home.nix ] ++ lib.optional hyprlandEnabled ./hyprland/hyprland-home.nix; # This value determines the Home Manager release that your # configuration is compatible with. This helps avoid breakage # when a new Home Manager release introduces backwards # incompatible changes. # # You can update Home Manager without changing this value. See # the Home Manager release notes for a list of state version # changes in each release. home.stateVersion = version; xdg = { desktopEntries.youtube = { name = "YouTube"; exec = "chromium --app=https://www.youtube.com"; terminal = false; type = "Application"; icon = "applications-multimedia"; categories = [ "AudioVideo" "Player" "Network" ]; }; desktopEntries."org.kde.konsole" = { name = "Konsole"; noDisplay = true; }; desktopEntries."org.kde.kinfocenter" = { name = "Info Center"; noDisplay = true; }; desktopEntries."org.kde.khelpcenter" = { name = "Help Center"; noDisplay = true; }; desktopEntries."org.kde.kmenuedit" = { name = "Menu Editor"; noDisplay = true; }; desktopEntries."micro" = { name = "Micro"; noDisplay = true; }; desktopEntries."nvim" = { name = "Neovim"; noDisplay = true; }; desktopEntries."btop" = { name = "btop++"; noDisplay = true; }; desktopEntries."chromium-desktop" = { name = "Chromium"; noDisplay = true; }; desktopEntries."nixos-manual" = { name = "NixOS Manual"; noDisplay = true; }; desktopEntries."org.freedesktop.IBus.Setup" = { name = "IBus Preferences"; noDisplay = true; }; desktopEntries."org.kde.drkonqi" = { name = "Crashed Processes Viewer"; noDisplay = true; }; desktopEntries."com.cloudflare.WarpTaskbar" = { name = "Cloudflare Zero Trust"; noDisplay = true; }; desktopEntries."org.kde.kwrite" = { name = "KWrite"; noDisplay = true; }; desktopEntries."org.kde.discover" = { name = "Discover"; noDisplay = true; }; }; # Let Home Manager install and manage itself. programs = { home-manager = { enable = true; }; kitty = { enable = true; settings = { background_opacity = "0.2"; #The higher the value, the darker the console background_blur = 10; }; }; git = { enable = true; userName = "Cookiez"; userEmail = "jaden-puerkenauer@web.de"; extraConfig = { init.defaultBranch = "main"; credentials.helper = "store"; }; }; zen-browser = { enable = true; #package = inputs.zen-browser.packages.${pkgs.system}.default; profiles = { ${username} = { id = 0; name = username; # profileAvatarPath = "chrome://browser/content/zen-avatars/avatar-57.svg"; path = "${username}.default"; isDefault = true; settings = { }; }; }; policies = { AutofillAddressEnabled = false; AutofillCreditCardEnabled = false; PasswordManagerEnabled = false; NoDefaultBookmarks = true; DisableAppUpdate = true; DisableFirefoxStudies = true; DontCheckDefaultBrowser = true; EnableTrackingProtection = { Value = true; Locked = true; Cryptomining = true; Fingerprinting = true; }; OfferToSaveLogins = false; DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab" ExtensionSettings = with builtins; let extension = shortId: uuid: { name = uuid; value = { install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi"; installation_mode = "force_installed"; }; }; in listToAttrs [ (extension "ublock-origin" "uBlock0@raymondhill.net") (extension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}") #(extension "2fas-two-factor-authentication" "admin@2fas.com") (extension "sponsorblock" "sponsorBlocker@ajay.app") #(extension "dearrow" "deArrow@ajay.app") #(extension "enhancer-for-youtube" "enhancerforyoutube@maximerf.addons.mozilla.org") #(extension "tabliss" "extension@tabliss.io") #(extension "don-t-fuck-with-paste" "DontFuckWithPaste@raim.ist") #(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}") #(extension "react-devtools" "@react-devtools") (extension "keepa" "amptra@keepa.com") (extension "redditUntranslate" "reddit-url-redirector@kichkoupi.com") ]; # To add additional extensions, find it on addons.mozilla.org, find # the short ID in the url (like https=//addons.mozilla.org/en-US/firefox/addon/!SHORT_ID!/) # Then, download the XPI by filling it in to the install_url template, unzip it, # run `jq .browser_specific_settings.gecko.id manifest.json` or # `jq .applications.gecko.id manifest.json` to get the UUID Preferences = { #"browser.contentblocking.category" = { Value = "strict"; Status = "locked"; }; "browser.urlbar.showSearchSuggestionsFirst" = false; "browser.sessionstore.resume_session_once" = false; }; }; }; }; #End of programs = {}; }