diff --git a/hosts/Garand-Laptop/home-modules.nix b/hosts/Garand-Laptop/home-modules.nix index 2a7d6b9..ddfd183 100644 --- a/hosts/Garand-Laptop/home-modules.nix +++ b/hosts/Garand-Laptop/home-modules.nix @@ -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 }; /* diff --git a/hosts/Garand-Laptop/system-modules.nix b/hosts/Garand-Laptop/system-modules.nix index 5150798..8690f06 100644 --- a/hosts/Garand-Laptop/system-modules.nix +++ b/hosts/Garand-Laptop/system-modules.nix @@ -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 }; diff --git a/modules/home/bash/functions.nix b/modules/home/bash/functions.nix index ed520f4..0a0b40f 100644 --- a/modules/home/bash/functions.nix +++ b/modules/home/bash/functions.nix @@ -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 " + 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" + } ''; }