Compare commits
No commits in common. "9ee45a53fc441fb0bcc08bf8730a54a43b163444" and "caeae2ace22749d404bc3a5e0395095af168f449" have entirely different histories.
9ee45a53fc
...
caeae2ace2
|
@ -1,6 +1,8 @@
|
|||
{ ... }:
|
||||
{
|
||||
text = ''
|
||||
export VDL_PROXY=""
|
||||
|
||||
# Download video from URL. When no `[LINK]` specified, it tries to update previously downloaded link.
|
||||
# Usage: vdl [LINK]
|
||||
function vdl() {
|
||||
|
@ -26,7 +28,7 @@
|
|||
[[ -f "Src.txt" ]] || echo "''${target}" > Src.txt
|
||||
|
||||
# Download [LINK] content.
|
||||
yt-dlp -S 'res:1080,codec:av1,codec:vp9,codec:h264' --download-archive Index.txt --embed-thumbnail --embed-subs --write-auto-subs --embed-metadata --merge-output-format mkv -cio '%(playlist_index)000006d_%(id)s.%(ext)s' ''${target} # || _vdl_retry
|
||||
yt-dlp ''${VDL_PROXY} -S 'res:1080,codec:av1,codec:vp9,codec:h264' --download-archive Index.txt --embed-thumbnail --embed-subs --write-auto-subs --embed-metadata --merge-output-format mkv -cio '%(playlist_index)000006d_%(id)s.%(ext)s' ''${target} # || _vdl_retry
|
||||
}
|
||||
|
||||
# Temporary fix for vk downloads.
|
||||
|
|
|
@ -1,32 +1,5 @@
|
|||
{ pkgs, config, ... }:
|
||||
let
|
||||
bookmarks = [
|
||||
(mkBookmark "Dashboard" "https://home.voronind.com")
|
||||
(mkBookmark "Watch" "https://watch.voronind.com")
|
||||
(mkBookmark "Telegram" "https://web.telegram.org/a")
|
||||
(mkBookmark "Mail" "https://mail.voronind.com")
|
||||
(mkBookmark "WorkMail" "https://mail.fsight.ru")
|
||||
(mkBookmark "Git" "https://git.voronind.com")
|
||||
(mkBookmark "WorkGit" "https://git.fmp.fsight.world")
|
||||
(mkBookmark "WorkBoard" "https://support.fsight.ru")
|
||||
(mkBookmark "Hass" "https://iot.voronind.com")
|
||||
(mkBookmark "Cloud" "https://cloud.voronind.com")
|
||||
];
|
||||
|
||||
extensions = {
|
||||
"addon@darkreader.org" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi";
|
||||
"cliget@zaidabdulla.com" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/cliget/latest.xpi";
|
||||
"foxyproxy@eric.h.jung" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/foxyproxy-standard/latest.xpi";
|
||||
"uBlock0@raymondhill.net" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
|
||||
"{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/user-agent-string-switcher/latest.xpi";
|
||||
"{d7742d87-e61d-4b78-b8a1-b469842139fa}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/vimium-ff/latest.xpi";
|
||||
"{e7625f06-e252-479d-ac7a-db68aeaff2cb}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/togglefonts/latest.xpi";
|
||||
# NOTE: This extension is helpful to find the required parameters for this config.
|
||||
# Or find them yourself inside the `about:support`.
|
||||
# "queryamoid@kaply.com" = mkExtension "https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi";
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
// Bookmarks.
|
||||
user_pref("browser.microsummary.enabled", true);
|
||||
|
@ -80,18 +53,6 @@ let
|
|||
|
||||
// Style.
|
||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||
|
||||
// Disable auto gain for the mic.
|
||||
// user_pref("media.getusermedia.audio.processing.aec", 0);
|
||||
// user_pref("media.getusermedia.audio.processing.aec.enabled", false);
|
||||
// user_pref("media.getusermedia.audio.processing.agc", 0);
|
||||
// user_pref("media.getusermedia.audio.processing.agc.enabled", false);
|
||||
// user_pref("media.getusermedia.audio.processing.agc2.forced", false)
|
||||
// user_pref("media.getusermedia.audio.processing.hpf.enabled", false);
|
||||
// user_pref("media.getusermedia.audio.processing.noise", 0);
|
||||
// user_pref("media.getusermedia.audio.processing.noise.enabled", false);
|
||||
// user_pref("media.getusermedia.audio.processing.platform.enabled", false);
|
||||
// user_pref("media.getusermedia.audio.processing.transient.enabled", false);
|
||||
'';
|
||||
|
||||
userChrome = ''
|
||||
|
@ -140,7 +101,19 @@ in
|
|||
inherit extraConfig userChrome userContent;
|
||||
};
|
||||
policies = {
|
||||
ManagedBookmarks = [ { toplevel_name = "Pin"; } ] ++ bookmarks;
|
||||
ManagedBookmarks = [
|
||||
{ toplevel_name = "Pin"; }
|
||||
(mkBookmark "Dashboard" "https://home.voronind.com")
|
||||
(mkBookmark "Watch" "https://watch.voronind.com")
|
||||
(mkBookmark "Telegram" "https://web.telegram.org/a")
|
||||
(mkBookmark "Mail" "https://mail.voronind.com")
|
||||
(mkBookmark "WorkMail" "https://mail.fsight.ru")
|
||||
(mkBookmark "Git" "https://git.voronind.com")
|
||||
(mkBookmark "WorkGit" "https://git.fmp.fsight.world")
|
||||
(mkBookmark "WorkBoard" "https://support.fsight.ru")
|
||||
(mkBookmark "Hass" "https://iot.voronind.com")
|
||||
(mkBookmark "Cloud" "https://cloud.voronind.com")
|
||||
];
|
||||
ExtensionUpdate = true;
|
||||
ExtensionSettings = {
|
||||
# Block extension installation outside of this config.
|
||||
|
@ -148,7 +121,18 @@ in
|
|||
install_sources = [ "*" ];
|
||||
installation_mode = "blocked";
|
||||
};
|
||||
} // extensions;
|
||||
"addon@darkreader.org" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi";
|
||||
"cliget@zaidabdulla.com" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/cliget/latest.xpi";
|
||||
"foxyproxy@eric.h.jung" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/foxyproxy-standard/latest.xpi";
|
||||
"uBlock0@raymondhill.net" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
|
||||
"{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/user-agent-string-switcher/latest.xpi";
|
||||
"{d7742d87-e61d-4b78-b8a1-b469842139fa}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/vimium-ff/latest.xpi";
|
||||
"{e7625f06-e252-479d-ac7a-db68aeaff2cb}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/togglefonts/latest.xpi";
|
||||
# NOTE: This extension is helpful to find the required parameters for this config.
|
||||
# Or find them yourself inside the `about:support`.
|
||||
# "queryamoid@kaply.com" = mkExtension "https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi";
|
||||
};
|
||||
# NOTE: `firefox-esr` edition is required to change default search engine.
|
||||
SearchEngines = {
|
||||
Default = "Searx";
|
||||
|
|
|
@ -41,18 +41,8 @@
|
|||
"rutrk.org"
|
||||
"t-ru.org"
|
||||
"medium.com"
|
||||
"dis.gd"
|
||||
"discord.co"
|
||||
"discord.com"
|
||||
"discord.dev"
|
||||
"discord.gg"
|
||||
"discord.gift"
|
||||
"discord.media"
|
||||
"discord.new"
|
||||
"discordapp.com"
|
||||
"discordapp.net"
|
||||
"discordcdn.com"
|
||||
"discordstatus.com"
|
||||
"quora.com"
|
||||
"quoracdn.net"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -43,8 +43,6 @@ in
|
|||
|
||||
# Common apps.
|
||||
(mkIf cfg.common.enable {
|
||||
environment.systemPackages = package.common;
|
||||
|
||||
xdg.mime.defaultApplications = {
|
||||
# Use `file -i file.txt` to find file mime type.
|
||||
# Use `xdg-mime query default "text/plain"` to find default app.
|
||||
|
@ -56,6 +54,8 @@ in
|
|||
"video/*" = "mpv.desktop";
|
||||
};
|
||||
|
||||
environment.systemPackages = package.common;
|
||||
|
||||
services.gvfs.enable = true;
|
||||
})
|
||||
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
android-tools # Android adb tool. Can be used to connect to itself via wireless debugging. binwalk # Can analyze files for other files inside them.
|
||||
bat # Pretty cat.
|
||||
bridge-utils # Network bridges.
|
||||
btop # System monitoring.
|
||||
btop
|
||||
chafa # CLI file manager.
|
||||
coreutils # UNIX Core utilities.
|
||||
cryptsetup # Filesystem encryption (LUKS).
|
||||
curl # Http client.
|
||||
ddrescue # Data rescue extractor.
|
||||
curl
|
||||
ddrescue
|
||||
diffutils # Diff tool.
|
||||
dnsutils # NS utilities.
|
||||
exiftool # Image info.
|
||||
|
@ -29,8 +29,8 @@
|
|||
gnugrep # Grep.
|
||||
gnumake # Make.
|
||||
gnused # Sed.
|
||||
gnutar # Tar.
|
||||
gzip # Fast compression.
|
||||
gnutar
|
||||
gzip
|
||||
htop # System monitors.
|
||||
imagemagick # Image converter and transformation tool.
|
||||
inetutils # Things like FTP.
|
||||
|
@ -42,8 +42,8 @@
|
|||
ltex-ls # Latex LSP for neovim spellcheck.
|
||||
man # App to read manuals.
|
||||
neovim # Text editor.
|
||||
nmap # Network scanning.
|
||||
openssh # Ssh client.
|
||||
nmap
|
||||
openssh
|
||||
parallel # Run programs in parallel.
|
||||
parted # CLI disk partition tool.
|
||||
pv # IO progress bar.
|
||||
|
@ -64,34 +64,34 @@
|
|||
ventoy # Boot multiple ISO/images from a single USB stick.
|
||||
wcurl # CLI http client.
|
||||
wireguard-tools # Tools to work with Wireguard.
|
||||
xray # Proxy.
|
||||
xray
|
||||
xz # Archive and compression tools.
|
||||
yazi # File manager.
|
||||
yazi
|
||||
yt-dlp # Video downloader.
|
||||
zapret # FRKN.
|
||||
zip # Zip utility.
|
||||
zip
|
||||
zmap # Network analyzer.
|
||||
|
||||
# (pkgs.callPackage ./ytdlp {}) # Youtube downloader bin package.
|
||||
(pkgs.callPackage ./yamusicdownload { }) # Yandex music downloader.
|
||||
# (pkgs.callPackage ./ytdlp {})
|
||||
(pkgs.callPackage ./yamusicdownload { })
|
||||
];
|
||||
|
||||
desktop = with pkgs; [
|
||||
adwaita-icon-theme # GTK icons.
|
||||
foot # Terminal emulator.
|
||||
fuzzel # Application launcher.
|
||||
grim # Screenshots.
|
||||
slurp # Screen selection.
|
||||
wf-recorder # Screen recording.
|
||||
swappy # Screenshot editing.
|
||||
grim
|
||||
slurp
|
||||
wf-recorder
|
||||
swappy # Screenshot.
|
||||
mako # Notification system.
|
||||
networkmanagerapplet # Internet configuration.
|
||||
pamixer # Sound controls.
|
||||
pavucontrol # Sound applet.
|
||||
pamixer
|
||||
pavucontrol
|
||||
pulseaudio # Audio.
|
||||
playerctl # Multimedia controls.
|
||||
sway # Sway WM.
|
||||
waybar # Sway bar.
|
||||
sway
|
||||
waybar # Sway WM.
|
||||
|
||||
(pkgs.callPackage ./swayscript args)
|
||||
];
|
||||
|
@ -113,13 +113,13 @@
|
|||
|
||||
gaming = with pkgs; [
|
||||
scanmem # Memory edit tool.
|
||||
steam # Gaming platform.
|
||||
bottles # GUI for Wine.
|
||||
dxvk # Directx to Vulkan.
|
||||
gamescope # Compositor for Steam.
|
||||
mangohud # Realtime stats overlay.
|
||||
vkd3d # Directx to Vulkan.
|
||||
wine64 # Run Windows software on Linux.
|
||||
steam
|
||||
bottles
|
||||
dxvk
|
||||
gamescope
|
||||
mangohud
|
||||
vkd3d
|
||||
wine64 # Gaming!
|
||||
steam-run # Run games outside of Steam.
|
||||
];
|
||||
|
||||
|
@ -130,8 +130,8 @@
|
|||
];
|
||||
|
||||
dev = with pkgs; [
|
||||
android-studio # I hate you.
|
||||
jetbrains.idea-community # Okay, but LSP would be better.
|
||||
android-studio
|
||||
jetbrains.idea-community
|
||||
];
|
||||
|
||||
extra = with pkgs; [
|
||||
|
@ -139,10 +139,10 @@
|
|||
appimage-run # Tool to run .AppImage files in NixOS.
|
||||
blanket # Sounds generator.
|
||||
calibre # Book library manager.
|
||||
cbonsai # Draw trees.
|
||||
cbonsai
|
||||
cmatrix # CLI Screensavers.
|
||||
cowsay # Cow quotes.
|
||||
lolcat # CLI funni colors.
|
||||
cowsay
|
||||
lolcat # CLI funni.
|
||||
gnome-font-viewer # Font viewer.
|
||||
jamesdsp # Active audio processing.
|
||||
p7zip # Weird archive tool.
|
||||
|
|
Loading…
Reference in a new issue