add new README
This commit is contained in:
parent
6175e0fd70
commit
ab56c37e9f
2 changed files with 63 additions and 132 deletions
96
README.md
96
README.md
|
@ -1,55 +1,85 @@
|
||||||
# For Install this Dotfiles on Fedora
|
# Dotfiles-Repository Installation
|
||||||
|
|
||||||
## Dotfiles
|
Dieses Repository enthält Konfigurationsdateien und Installationsskripte für Fedora und macOS. Die Installation erfolgt entweder direkt über `chezmoi` oder mithilfe der bereitgestellten Skripte.
|
||||||
|
|
||||||
~~~
|
## Voraussetzungen
|
||||||
sudo dnf -y install dnf-plugins-core
|
- **Git** ([Installationsanleitung](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git))
|
||||||
sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
|
- **curl** (meist vorinstalliert)
|
||||||
|
- Terminal mit Administratorrechten
|
||||||
|
|
||||||
sudo dnf install fzf zsh-autosuggestions zsh-syntax-highlighting fuzzel papirus-icon-theme rg dkms libdrm-devel htop hplip wtype ydotool pkg-config libxkbcommon-devel scdoc golang inotify-tools docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin vlc vlc-plugin-gstreamer vlc-plugin-pipewire vlc-libs vlc-plugin-ffmpeg ffmpeg ffmpeg-free gstreamer1-libav gstreamer1-vaapi gstreamer1-plugins-good gstreamer1-plugins-good-extras go libgo-devel net-snmp-utils ncdu yad nvim neovim python3-neovim pwgen pass-otp gopass gopass-jsonapi ansible net-snmp snmpd grim openldap-devel gcc python3-psycopg2 python3-postgresql zbar openh264 mumble kmplayer virt-manager @virtualization gource virt-what links sway nm-applet blueman-applet swaync lxpolkit wob wcp wdisplays hyprland hypridle golang gtk3-devel golang-x-tools-toolstash golang-x-arch-devel.noarch waybar pavucontrol-qt wofi pavucontrol arc-theme hyprlock copyq nwg-dock-hyprland nwg-drawer nwg-panel nwg-launchers cascadia-code-nf-fonts hyprpaper btop atop nmap perl-Time-HiRes powerline-fonts tmux-powerline asciiquarium lolcat socat rbw pcmanfm qalculate-gtk jetbrains-mono-fonts la-capitaine-cursor-theme la-capitaine-icon-theme
|
---
|
||||||
|
|
||||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
## Installation
|
||||||
|
|
||||||
sudo usermod -s /bin/zsh simono41
|
### Methode 1: Direkte Installation mit chezmoi
|
||||||
|
Führen Sie diese Befehle **nacheinander** aus:
|
||||||
|
|
||||||
|
```
|
||||||
|
# 1. Chezmoi installieren
|
||||||
sh -c "$(curl -fsLS get.chezmoi.io)"
|
sh -c "$(curl -fsLS get.chezmoi.io)"
|
||||||
|
|
||||||
|
# 2. Dotfiles anwenden
|
||||||
chezmoi init -v --apply --force https://code.brothertec.eu/simono41/dotfiles.git
|
chezmoi init -v --apply --force https://code.brothertec.eu/simono41/dotfiles.git
|
||||||
chezmoi update -v --force
|
```
|
||||||
|
|
||||||
curl -sS https://starship.rs/install.sh | sh
|
### Methode 2: Systemspezifische Skripte
|
||||||
|
**Fedora:**
|
||||||
|
```
|
||||||
|
chmod +x install-fedora.sh && ./install-fedora.sh
|
||||||
|
```
|
||||||
|
|
||||||
sudo wget https://github.com/sentriz/cliphist/releases/download/v0.6.1/v0.6.1-linux-arm -o /usr/bin/cliphist
|
**macOS:**
|
||||||
sudo chmod +x /usr/bin/cliphist
|
```
|
||||||
~~~
|
chmod +x install-macos.sh && ./install-macos.sh
|
||||||
|
```
|
||||||
|
|
||||||
## tmux helping
|
---
|
||||||
|
|
||||||
~~~
|
## Features der Skripte
|
||||||
<prefix> means you have to either hit Ctrl + a or Ctrl + b
|
- **Automatische OS-Erkennung**
|
||||||
<prefix> c means you have to hit Ctrl + a or Ctrl + b followed by c
|
Abbruch bei falschem Betriebssystem
|
||||||
<prefix> C-c means you have to hit Ctrl + a or Ctrl + b followed by Ctrl + c
|
- **Redundanzprüfung**
|
||||||
~~~
|
Überspringt bereits installierte Komponenten:
|
||||||
|
- Chezmoi
|
||||||
|
- Starship
|
||||||
|
- Cliphist
|
||||||
|
- **Kategorisierte Paketgruppen**
|
||||||
|
Klare Trennung von:
|
||||||
|
- Shell-Tools
|
||||||
|
- GUI-Komponenten
|
||||||
|
- Entwicklungsumgebungen
|
||||||
|
- Systemdiensten
|
||||||
|
|
||||||
https://gist.github.com/rbudiharso/53821b3222c4e7a5f7695d8d13cc6058
|
---
|
||||||
|
|
||||||
For Install new tmux addons run this
|
## Post-Installation
|
||||||
|
- **ZSH als Standard-Shell**
|
||||||
|
Wird automatisch gesetzt
|
||||||
|
- **Flatpak-Repository**
|
||||||
|
Flathub wird hinzugefügt
|
||||||
|
- **Architekturspezifische Binärdateien**
|
||||||
|
Automatische Auswahl zwischen ARM/x86_64
|
||||||
|
|
||||||
~~~
|
---
|
||||||
TMUX_PLUGIN_MANAGER_PATH=~/.tmux/plugins .tmux/plugins/tpm/scripts/install_plugins.sh
|
|
||||||
~~~
|
|
||||||
|
|
||||||
## Sources
|
## Skript-Funktionen im Detail
|
||||||
|
| Feature | Fedora-Skript | macOS-Skript |
|
||||||
|
|--------------------------|---------------|--------------|
|
||||||
|
| Paketmanager-Installation| DNF | Homebrew |
|
||||||
|
| Virtulisierung | @virtualization | Docker |
|
||||||
|
| Clipboard-Manager | cliphist | flycut |
|
||||||
|
| Terminal-Emulator | Wezterm | Wezterm |
|
||||||
|
|
||||||
https://wezfurlong.org/wezterm/install/linux.html#installing-on-linux-via-flathub
|
---
|
||||||
|
|
||||||
https://flatpak.org/setup/Fedora
|
## Beitragende
|
||||||
|
- Simon Rieger ([GitHub](https://github.com/simono41))
|
||||||
|
|
||||||
https://www.chezmoi.io/install/#one-line-binary-install
|
---
|
||||||
|
|
||||||
https://wiki.ubuntuusers.de/usermod/
|
## Lizenz
|
||||||
|
MIT-Lizenz – Details siehe [LICENSE](LICENSE)
|
||||||
|
|
||||||
https://starship.rs/guide/#%F0%9F%9A%80-installation
|
---
|
||||||
|
|
||||||
https://www.nerdfonts.com/font-downloads
|
**Hinweis:** Bei Verwendung der curl-Methode wird empfohlen, das Skript vor der Ausführung zu überprüfen.
|
||||||
|
|
||||||
https://github.com/gpakosz/.tmux
|
|
||||||
|
|
|
@ -1,99 +0,0 @@
|
||||||
# Installation Guide for a good MacOS System
|
|
||||||
## Install Homebrew
|
|
||||||
~~~
|
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
||||||
~~~
|
|
||||||
|
|
||||||
## Install Config Manager
|
|
||||||
|
|
||||||
~~~
|
|
||||||
brew install chezmoi
|
|
||||||
chezmoi init -v --apply ssh://git@brothertec.eu:1023/simono41/dotfiles.git
|
|
||||||
~~~
|
|
||||||
|
|
||||||
## Install some Terminal Tools
|
|
||||||
~~~
|
|
||||||
brew install --cask wezterm
|
|
||||||
brew install neovim
|
|
||||||
brew install tmux
|
|
||||||
brew install reattach-to-user-namespace
|
|
||||||
brew install starship
|
|
||||||
brew install zsh-completions
|
|
||||||
brew install zsh-autosuggestions
|
|
||||||
brew install zsh-autocomplete
|
|
||||||
brew install fzf
|
|
||||||
brew install ruby
|
|
||||||
brew install gnupg
|
|
||||||
brew install htop
|
|
||||||
brew install btop
|
|
||||||
brew install asciiquarium
|
|
||||||
brew install lolcat
|
|
||||||
brew install openjdk@17
|
|
||||||
sudo ln -sfn /opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-17.jdk
|
|
||||||
brew install openjdk@21
|
|
||||||
sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
|
|
||||||
brew install python
|
|
||||||
brew install python-tk@3.11
|
|
||||||
brew install python-gdbm@3.11
|
|
||||||
pip3 install pyobjc
|
|
||||||
~~~
|
|
||||||
|
|
||||||
## Install Password Manager
|
|
||||||
~~~
|
|
||||||
brew install pass
|
|
||||||
brew install pass-otp
|
|
||||||
brew install pinentry-mac
|
|
||||||
brew install qtpass
|
|
||||||
brew tap amar1729/formulae
|
|
||||||
brew install browserpass
|
|
||||||
PREFIX='/opt/homebrew/opt/browserpass' make hosts-firefox-user -f '/opt/homebrew/opt/browserpass/lib/browserpass/Makefile'
|
|
||||||
change gpg path in firefox to /opt/homebrew/bin/gpg
|
|
||||||
~~~
|
|
||||||
|
|
||||||
## Install Clipboard Manager
|
|
||||||
~~~
|
|
||||||
brew install jq
|
|
||||||
brew install choose-gui
|
|
||||||
brew install rg
|
|
||||||
brew install --cask flycut
|
|
||||||
~~~
|
|
||||||
|
|
||||||
## Install Tailscale
|
|
||||||
~~~
|
|
||||||
brew install tailscale
|
|
||||||
sudo tailscaled install-system-daemon
|
|
||||||
tailscale up --login-server=https://vpn.brothertec.eu --ssh --accept-routes
|
|
||||||
~~~
|
|
||||||
|
|
||||||
## Install Fonts
|
|
||||||
~~~
|
|
||||||
brew tap homebrew/cask-fonts
|
|
||||||
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || true
|
|
||||||
brew install --cask font-hack-nerd-font
|
|
||||||
brew install --cask font-fira-code
|
|
||||||
brew install --cask font-finagler
|
|
||||||
|
|
||||||
or only for Jetbrains mono nerd fonts
|
|
||||||
|
|
||||||
brew tap homebrew/cask-fonts && brew install --cask font-jetbrains-mono-nerd-font
|
|
||||||
~~~
|
|
||||||
|
|
||||||
## Install some Tools for Jetbrains
|
|
||||||
~~~
|
|
||||||
brew install kdoctor
|
|
||||||
brew install cocoapods
|
|
||||||
~~~
|
|
||||||
|
|
||||||
## Install other optional tools
|
|
||||||
~~~
|
|
||||||
brew install --cask visual-studio-code
|
|
||||||
brew install --cask --no-quarantine prismlauncher
|
|
||||||
~~~
|
|
||||||
|
|
||||||
## Install rbw (Rust Bitwarden cli)
|
|
||||||
~~~
|
|
||||||
brew install rbw
|
|
||||||
rbw config set email simon@rieger.app
|
|
||||||
rbw config set base_url https://vaultwarden.brothertec.eu
|
|
||||||
rbw config set pinentry pinentry-mac
|
|
||||||
~~~
|
|
Loading…
Add table
Reference in a new issue