From bb9907eecee056f114c8a396e789adeea2ca19ad Mon Sep 17 00:00:00 2001 From: near Date: Wed, 2 Aug 2023 01:15:22 +0000 Subject: [PATCH] Upload files to "" --- lxqt-2.sh | 15 ++++++++++++++ lxqt.sh | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 lxqt-2.sh create mode 100644 lxqt.sh diff --git a/lxqt-2.sh b/lxqt-2.sh new file mode 100644 index 0000000..ed944b5 --- /dev/null +++ b/lxqt-2.sh @@ -0,0 +1,15 @@ +apt --fix-broken install +# config fish +fish_add_path /usr/local/flutter/bin +nix-env -iA nixpkgs.telegram-desktop +nix-env -iA nixpkgs.clementine +nix-env -iA nixpkgs.firefox +nix-env -iA nixpkgs.remmina +nix-env -iA nixpkgs.thunderbird +nix-env -iA nixpkgs.libsForQt5.kleopatra + +waterfox-g-kpe +# Remove sudo +apt purge sudo -y +apt autoremove -y + diff --git a/lxqt.sh b/lxqt.sh new file mode 100644 index 0000000..78a4868 --- /dev/null +++ b/lxqt.sh @@ -0,0 +1,61 @@ +su - root +apt update +apt upgrade +# Remove bloat +apt purge firefox quassel xscreensaver* xscreensaver libreoffice* smtube firefox* thunderbird meteo-qt qps qterminal apt-transport-https -y +# Add utils +apt install feh doas polybar openresolv rofi blueman htop vim wget curl fonts-hack konsole qtcreator qtbase5-dev qt5-qmake cmake redshift qemu-system virt-manager libvirt-daemon-system nextcloud-desktop bridge-utils nm-tray picom i3 -y +curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null +apt update +apt install fish -y +sh <(curl -L https://nixos.org/nix/install) --daemon +mkdir -p ~/.config/nix + +rm -rf ~/.local/share/applications +rm -rf ~/.local/share/icons + +ln -s ~/.nix-profile/share/applications ~/.local/share/applications +ln -s ~/.nix-profile/share/icons ~/.local/share/icons +echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf +echo "permit persist naoufal as root" >/etc/doas.conf +# Install dev tools +apt install git nim clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev qt5-qmake -y +wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb +dpkg -i google-chrome-stable_current_amd64.deb +rm google-chrome-stable_current_amd64.deb +## todo with user +# Install Vscode +wget "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" -O "vscode.deb" +dpkg -i vscode.deb +rm vscode.deb +# Install android studio +wget https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2022.2.1.20/android-studio-2022.2.1.20-linux.tar.gz +tar -xvzf android-studio-2022.2.1.20-linux.tar.gz +rm android-studio-2022.2.1.20-linux.tar.gz +sudo mv android-studio /usr/local/ +/usr/local/android-studio/bin/studio.sh +# Install Flutter +wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.10.6-stable.tar.xz +tar xf flutter_linux_3.10.6-stable.tar.xz +rm flutter_linux_3.10.6-stable.tar.xz +sudo mv flutter /usr/local/ +#fish +echo "fish" >> .bashrc + +# Install fonts +git clone --depth 1 https://github.com/ryanoasis/nerd-fonts.git +nerd-fonts/install.sh +rm -rf nerd-fonts +mkdir .fonts +wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer | bash +fc-cache -fv +git clone https://github.com/SpudGunMan/segoe-ui-linux +chmod +x segoe-ui-linux/install.sh +segoe-ui-linux/install.sh +rm -rf segoe-ui-linux +doas apt purge xfonts-75dpi xfonts-100dpi +# Install freeOffice +wget https://www.softmaker.net/down/softmaker-office-2021_1064-01_amd64.deb +sudo dpkg -i softmaker-office-2021_1064-01_amd64.deb +rm softmaker-office-2021_1064-01_amd64.deb +adduser naoufal libvirt