Configuration de mes différents OS
Go to file
2024-05-16 23:49:18 +02:00
.config escape $ 2024-04-25 11:33:33 +02:00
.emacs.d add emacs?? 2023-03-19 16:48:27 +01:00
.local/share/blackbox add custom keymap for blackbox 2024-03-26 09:30:41 +01:00
.mozilla/firefox never use the import functionnality of dark reader 2023-11-11 20:01:03 +01:00
.old * move all old script to a specific categorie 2022-09-30 20:27:14 +02:00
.unison ignore opam directory 2024-03-11 14:15:16 +01:00
archinstall add qpdf 2024-04-25 12:03:43 +02:00
dotfiles while; 2024-04-22 02:32:30 +02:00
games/cs2 ... 2024-02-20 21:18:10 +01:00
opentabletdriver fix screen-2 size 2023-11-11 19:44:10 +01:00
pacman.d/hooks add a pacman hook 2023-05-01 13:55:08 +02:00
themes Update discord theme to latest version 2024-04-17 01:55:32 +02:00
windows start the game directly 2024-04-18 16:46:57 +02:00
arch.sh add flameshot another shortcut 2024-05-13 13:55:59 +02:00
LICENSE Add year and author 2023-02-15 16:00:16 +01:00
Makefile add mihoyo shortcuts 2024-04-18 01:18:07 +02:00
meta.sh change ipfs gateway 2024-04-29 13:38:30 +02:00
README.md mmm... 2024-04-03 12:07:10 +02:00
termux.sh comments 2024-04-03 09:24:34 +02:00
uad_exported_selection.txt Add android apps 2022-06-15 12:03:50 +02:00
W10Privacy.ini update to latest version 2024-02-10 03:16:45 +01:00
windows11.bat full arg 2024-05-16 23:49:18 +02:00
wsl.sh add qpdf 2024-04-25 12:03:43 +02:00

Configuration des OS

Pour rechercher efficacement, ^F "===" recherche catégorie par catégorie.

Windows 11

WSL (Arch)

Tout d'abord, installer ArchWSL (.appx et .cer)

Ensuite, il faut définir un utilisateur :

>Arch.exe
[root@PC ~]# echo "%wheel ALL=(ALL) ALL" > /etc/sudoers.d/wheel
[root@PC ~]# useradd -m -G wheel -s /bin/bash anri
[root@PC ~]# passwd anri
[root@PC ~]# exit

>Arch.exe config --default-user anri
Fix bug ldconfig :
CD \Windows\System32\lxss\lib
DEL libcuda.so
DEL libcuda.so.1
MKLINK libcuda.so libcuda.so.1.1
MKLINK libcuda.so.1 libcuda.so.1.1

Après faut peut-être redémarrer WSL et sudo ldconfig.

Commande pour lancer mon installation :

>Arch.exe
[anri@PC ~]# curl https://git.mylloon.fr/Anri/confOS/raw/branch/main/wsl.sh -s | bash

Arch

Procédure dans l'image ISO

Layout FR

loadkeys fr
Connexion en WiFi

Récupération clé hashée

wpa_passhrase <SSID> <clé WIFI> > /var/lib/iwd/<SSID>.psk

Ajout entête

echo -e "[Security]\nPreSharedKey=" >> /var/lib/iwd/<SSID>.psk

Modification fichier pour ne garder que l'entête

nano /var/lib/iwd/<SSID>.psk

Connexion au WiFi

iwctl station wlan0 connect <SSID>

Copié la configuration

run.sh

curl -o run.sh -L lstu.fr/m_ai_r

Lancé la configration

Rendre le script exécutable

chmod +x run.sh

Lancer le script

./run.sh

Ne pas aller dans le chroot à la fin de l'installation et redémarrer le pc

reboot

Commande pour lancer mon installation :

curl https://git.mylloon.fr/Anri/confOS/raw/branch/main/arch.sh -s | bash

Android

Avec UAD, ma liste d'applications est uad_exported_selection.txt.

Ici un petit descriptif de quelques applications que je désactive qui sont mauvaise.

Termux

curl https://git.mylloon.fr/Anri/confOS/raw/branch/main/termux.sh -s | bash

Anciens scripts

Ils restent là au cas où, mais attention ils ne sont pas à jour.

Manjaro

Commande pour lancer mon installation :

curl https://git.mylloon.fr/Anri/confOS/raw/branch/main/.old/manjaro.sh -s | bash

Ubuntu

Commande pour lancer mon installation :

curl https://git.mylloon.fr/Anri/confOS/raw/branch/main/.old/ubuntu.sh -s | bash

WSL (Ubuntu)

Commande pour lancer mon installation :

# Lors de l'installation il vous sera demandé de choisir
# une configuration mail, choisir : "No configuration"
curl https://git.mylloon.fr/Anri/confOS/raw/branch/main/.old/ubuntu_wsl.sh -s | sudo bash

Infos

  • Import/Export clef GPG :

    • Exporté clef publique : gpg --output public.gpg --armor --export user@email
    • Exporté clef privé : gpg --output private.gpg --armor --export-secret-key user@email
    • Importé clefs publique : gpg --import public.gpg
    • Importé clefs privé : gpg --allow-secret-key-import --import private.gpg
    • Récupérer numéro de clef (sec) : gpg --list-secret-keys --keyid-format LONG user@email (dans sec rsa4096/30F2B65B9246B6CA 2017-08-18 [SC] c'est 30F2B65B9246B6CA)
    • Utilisé clef pour git : git config --global user.signingkey <numéro de la clé>
  • Git :

    • git config --global user.email "kennel.anri@tutanota.com"
    • git config --global user.name "Mylloon"

Post-install

Après avoir installé son PC, la configuration peut changer !

Lance make après avoir pull la dernière version de ce dépôt pour se synchronisé.

Plus d'info dans le Makefile.