Configuration de mes différents OS
Find a file
2023-11-11 19:44:10 +01:00
.config Merge branch 'main' of git.mylloon.fr:Anri/confOS 2023-11-11 13:51:27 +01:00
.emacs.d add emacs?? 2023-03-19 16:48:27 +01:00
.mozilla/firefox no longer use this one 2023-11-05 23:04:13 +01:00
.old * move all old script to a specific categorie 2022-09-30 20:27:14 +02:00
.unison Ignore some Android studio files 2023-10-04 16:58:58 +02:00
archinstall switch from sdkman to jdk-openjdk 2023-11-05 17:17:03 +01:00
dotfiles use difftastic instead of delta for diff replacement 2023-10-23 18:35:24 +02:00
games/cs2 remove sc 2023-10-01 20:03:51 +02: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 themes+ 2023-11-10 11:56:46 +01:00
windows update discord if needed 2023-11-05 17:30:04 +01:00
arch.sh ppx_sexp_conv 2023-11-06 00:14:37 +01:00
arch_wsl.sh ppx_sexp_conv 2023-11-06 00:14:37 +01:00
LICENSE Add year and author 2023-02-15 16:00:16 +01:00
Makefile sync otd presets 2023-11-11 19:42:31 +01:00
README.md info 2023-03-19 19:06:35 +01:00
uad_exported_selection.txt Add android apps 2022-06-15 12:03:50 +02:00
W10Privacy.ini some tweaks 2023-05-18 12:26:16 +02:00
windows11.bat sync otd presets 2023-11-11 19:42:31 +01: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/arch_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 | sudo 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.

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.