Adjust enabled modules and add ffmpeg_dl
Disable Zed remote server, VirtualBox and Exercism modules. Enable Pixieditor and Gedit editors. Add ffmpeg_dl Bash function to download streams via ffmpeg.
This commit is contained in:
@@ -5,7 +5,7 @@ _: {
|
||||
vscodium.enable = false; # VSCodium: a free and open-source "demicrosofted" VSCode
|
||||
zed-editor = {
|
||||
enable = true; # Zed Editor: a modern, high‑performance code editor
|
||||
remote-server.enable = true; # Remote Server: enable remote editing capabilities
|
||||
remote-server.enable = false; # Remote Server: enable remote editing capabilities
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -3,7 +3,7 @@ _: {
|
||||
Container & Packaging
|
||||
*/
|
||||
docker.enable = true; # Docker: container runtime and management
|
||||
virtualbox.enable = true; # VirtualBox: PC emulator
|
||||
virtualbox.enable = false; # VirtualBox: PC emulator
|
||||
flatpak = {
|
||||
enable = true; # Flatpak: universal packaging system for Linux
|
||||
packages = {
|
||||
@@ -49,7 +49,7 @@ _: {
|
||||
/*
|
||||
Development Tools
|
||||
*/
|
||||
exercism.enable = true; # Exercism: coding practice platform
|
||||
exercism.enable = false; # Exercism: coding practice platform
|
||||
lazygit.enable = false; # Lazygit: simple TUI for Git
|
||||
opencode.enable = false; # OpenCode: tools for coding and development
|
||||
jan.enable = true; # Jan: AI chat UI
|
||||
@@ -81,7 +81,7 @@ _: {
|
||||
freetube.enable = false; # FreeTube: privacy‑friendly YouTube client
|
||||
gimp.enable = false; # GIMP: GNU Image Manipulation Program
|
||||
kdenlive.enable = false; # Kdenlive: video editing software
|
||||
pixieditor.enable = false; # Pixieditor: Universal editor for all your 2D needs
|
||||
pixieditor.enable = true; # Pixieditor: Universal editor for all your 2D needs
|
||||
plex.enable = true; # Plex: media player and server client
|
||||
|
||||
/*
|
||||
@@ -89,7 +89,7 @@ _: {
|
||||
*/
|
||||
eddieAirVPN.enable = true; # Eddie AirVPN: VPN client
|
||||
gnomeCalculator.enable = true; # gnomeCalculator: simple calculator
|
||||
gedit.enable = false; # Gedit: GNOME text editor
|
||||
gedit.enable = true; # Gedit: GNOME text editor
|
||||
winboat.enable = false; # Winboat: Windows remote desktop via RDP
|
||||
adb.enable = false; # ADB: Android SDK platform tools
|
||||
};
|
||||
|
||||
@@ -140,5 +140,26 @@ _: {
|
||||
pwdtail() {
|
||||
pwd | awk -F/ '{nlast = NF -1;print $nlast"/"$NF}'
|
||||
}
|
||||
|
||||
ffmpeg_dl() {
|
||||
# Sprawdzenie liczby argumentów
|
||||
if [ "$#" -ne 3 ]; then
|
||||
echo "Usage: ffmpeg_dl <url> <name> <fs_path>"
|
||||
return 1
|
||||
fi
|
||||
|
||||
local url="$1"
|
||||
local name="$2"
|
||||
local fs_path="$3"
|
||||
|
||||
# Tworzy katalog docelowy, jeśli nie istnieje
|
||||
mkdir -p "$fs_path"
|
||||
|
||||
# Pełna ścieżka do pliku wyjściowego
|
||||
local output="${"$"}{fs_path}/${"$"}{name}.mp4"
|
||||
|
||||
# Uruchamia ffmpeg – kopiowanie strumienia bez rekompresji
|
||||
ffmpeg -i "$url" -c copy "$output"
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user