Add configurations and correction of mistakes

This commit is contained in:
adrien 2021-04-22 01:30:24 +02:00
parent 56756cf762
commit a248d87a88

View File

@ -2,7 +2,7 @@
## Bulk commands
```
yay -S spectrwm fish openssh rofi xorg xorg-server scrot xorg-xinit alacritty ranger feh nerd-fonts-complete xf86-video-intel librewolf-bin cifs-utils pulseaudio-alsa pulseaudio-ctl slock xautolock zip unzip alsa-utils redshift-minimal numlockx usbutils cmatrix yubikey-touch-detector
yay -S spectrwm fish openssh rofi xorg xorg-server scrot xorg-xinit alacritty ranger feh nerd-fonts-complete xf86-video-intel librewolf-bin cifs-utils pulseaudio-alsa pulseaudio-ctl slock xautolock zip unzip alsa-utils redshift-minimal numlockx usbutils cmatrix yubikey-touch-detector tlp powertop
cp dotfiles/.xinitrc ~/
cp dotfiles/.fehbg ~/
chmod +x ~/.fehbg
@ -18,17 +18,19 @@ cp dotfiles/.config/fish/functions/cl.fish ~/.config/fish/functions/
cp dotfiles/.config/fish/functions/fish_prompt.fish ~/.config/fish/functions/
sudo sed -i "s/autospawn = no/autospawn = yes/" /etc/pulse/client.conf
sudo cp dotfiles/X11/xorg.conf /etc/X11/xorg.conf
sudo cp dotfiles/slock@.service /etc/systemd/system/slock@$USER.service
sudo cp dotfiles/system/slock@.service /etc/systemd/system/slock@$USER.service
sudo systemctl enable slock@$USER.service
sudo cp dotfiles/xorg.conf.d/20-intel.conf /etx/X11/xorg.conf.d/
sudo cp dotfiles/system/mnt-data.* /etc/systemd/system/
sudo cp dotfiles/system/powertop.service /etc/systemd/system/
sudo systemctl enable --now mnt-data.automount powertop.service
```
## Packages
### General purposes
```
yay -S spectrwm fish openssh rofi xorg xorg-server scrot xorg-xinit alacritty ranger feh nerd-fonts-complete xf86-video-intel librewolf-bin cifs-utils pulseaudio-alsa pulseaudio-ctl slock xautolock zip unzip alsa-utils redshift-minimal numlockx usbutils cmatrix yubikey-touch-detector
yay -S spectrwm fish openssh rofi xorg xorg-server scrot xorg-xinit alacritty ranger feh nerd-fonts-complete xf86-video-intel librewolf-bin cifs-utils pulseaudio-alsa pulseaudio-ctl slock xautolock zip unzip alsa-utils redshift-minimal numlockx usbutils cmatrix yubikey-touch-detector tlp powertop
```
### Pentest purposes
@ -78,7 +80,7 @@ sudo systemctl enable --now mnt-data.automount
```
### GPU
On a second laptop I have a Quadro T2000 graphics card, if I want to be able to use it (for hashcat for example) I have to install the following tools and make the following configuration.
On a second laptop I have a Quadro T2000 graphics card, if I want to be able to use it (for `hashcat` among others) I have to install the following tools and make the following configuration.
```
yay -S nvidia bumblebee
@ -108,10 +110,16 @@ Copy the value of the `psk` key and paste it in the `netctl` config file and pre
wpa_passphrase <ssid> <password>
```
### Configure git
```
git config --global user.name <username>
git config --global user.email <e-mail>
```
## Specific installations
### Docker
In some cases, closing (and then reopening) your session is necessary.
Closing (and then reopening) your session is necessary.
```
yay -S docker