174 lines
3.9 KiB
Nix
174 lines
3.9 KiB
Nix
|
{
|
||
|
programs = {
|
||
|
home-manager.enable = true;
|
||
|
|
||
|
firefox = {
|
||
|
enable = true;
|
||
|
|
||
|
profiles.default = {
|
||
|
containersForce = true;
|
||
|
containers = {
|
||
|
social = {
|
||
|
color = "turquoise";
|
||
|
icon = "fence";
|
||
|
id = 1;
|
||
|
};
|
||
|
|
||
|
shopping = {
|
||
|
color = "orange";
|
||
|
icon = "cart";
|
||
|
id = 2;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
search = {
|
||
|
force = true;
|
||
|
default = "DuckDuckGo";
|
||
|
engines = {
|
||
|
"Nix Packages" = {
|
||
|
urls = [{
|
||
|
template = "https://search.nixos.org/packages";
|
||
|
params = [
|
||
|
{ name = "type"; value = "packages"; }
|
||
|
{ name = "query"; value = "{searchTerms}"; }
|
||
|
];
|
||
|
}];
|
||
|
|
||
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||
|
definedAliases = [ "@np" ];
|
||
|
};
|
||
|
|
||
|
"NixOS Wiki" = {
|
||
|
urls = [{ template = "https://wiki.nixos.org/index.php?search={searchTerms}"; }];
|
||
|
iconUpdateURL = "https://wiki.nixos.org/favicon.png";
|
||
|
updateInterval = 24 * 60 * 60 * 1000;
|
||
|
definedAliases = [ "@nw" ];
|
||
|
};
|
||
|
|
||
|
"MyNixOS" = {
|
||
|
urls = [{ template = "https://mynixos.com/search?q={searchTerms}"; }];
|
||
|
iconUpdateURL = "https://mynixos.com/favicon-light.svg";
|
||
|
definedAliases = [ "@mn" "@mw" ];
|
||
|
};
|
||
|
|
||
|
"Bing".metaData.hidden = true;
|
||
|
"Google".metaData.hidden = true;
|
||
|
"Amazon.com".metaData.hidden = true;
|
||
|
"eBay".metaData.hidden = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
policies = {
|
||
|
DisableFirefoxStudies = true;
|
||
|
DisableTelemetry = true;
|
||
|
DisablePocket = true;
|
||
|
|
||
|
DontCheckDefaultBrowser = true;
|
||
|
DownloadDirectory = "\${home}";
|
||
|
|
||
|
EnableTrackingProtection = {
|
||
|
Value = true;
|
||
|
Locked = false;
|
||
|
|
||
|
Cryptomining = true;
|
||
|
EmailTracking = true;
|
||
|
Fingerprinting = true;
|
||
|
|
||
|
Exceptions = [];
|
||
|
};
|
||
|
|
||
|
FirefoxHome = {
|
||
|
# TopSites = false;
|
||
|
SponsoredTopSites = false;
|
||
|
|
||
|
Pocket = false;
|
||
|
SponsoredPocket = false;
|
||
|
};
|
||
|
|
||
|
StartDownloadsInTempDirectory = true;
|
||
|
TranslateEnabled = true;
|
||
|
|
||
|
Preferences = {
|
||
|
"browser.translations.automaticallyPopup" = {
|
||
|
Value = false;
|
||
|
Status = "default";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
bash = {
|
||
|
enable = true;
|
||
|
historyControl = [ "ignoreboth" ];
|
||
|
};
|
||
|
|
||
|
git = {
|
||
|
enable = true;
|
||
|
userName = "xezo360hye";
|
||
|
userEmail = "xezo360hye@gmail.com";
|
||
|
extraConfig = {
|
||
|
init.defaultBranch = "master";
|
||
|
url."https://github.com/".insteadOf = [ "gh:" "github:" ];
|
||
|
url."https://git.psf.lt/".insteadOf = [ "psf:" "gitea:" ];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
nixvim = {
|
||
|
enable = true;
|
||
|
|
||
|
viAlias = true;
|
||
|
vimAlias = true;
|
||
|
defaultEditor = true;
|
||
|
|
||
|
colorschemes.tokyonight.enable = true;
|
||
|
plugins.copilot-lua = {
|
||
|
enable = true;
|
||
|
filetypes = {
|
||
|
markdown = true;
|
||
|
yaml = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
htop.enable = true;
|
||
|
fastfetch.enable = true;
|
||
|
alacritty.enable = true;
|
||
|
};
|
||
|
|
||
|
xsession.windowManager.awesome = {
|
||
|
enable = true;
|
||
|
noArgb = true;
|
||
|
};
|
||
|
|
||
|
nixpkgs.config.allowUnfree = true;
|
||
|
news.display = "show";
|
||
|
|
||
|
home = {
|
||
|
packages = with pkgs; [
|
||
|
telegram-desktop
|
||
|
arduino-cli
|
||
|
ani-cli
|
||
|
ytfzf
|
||
|
nethack
|
||
|
cpufrequtils
|
||
|
qbittorrent
|
||
|
steam-run
|
||
|
libqalculate
|
||
|
];
|
||
|
|
||
|
sessionVariables = {
|
||
|
ANI_CLI_PLAYER = "mpv";
|
||
|
};
|
||
|
|
||
|
file = {
|
||
|
".config/awesome/rc.lua".source = ./awesomerc.lua;
|
||
|
};
|
||
|
|
||
|
username = "andrey";
|
||
|
homeDirectory = "/home/andrey";
|
||
|
stateVersion = "24.05";
|
||
|
};
|
||
|
}
|
||
|
# vim: ts=2 sw=2 et
|