Configuration de mes différents OS
Find a file
2023-03-19 16:48:27 +01:00
.config auto accept 2023-03-19 16:15:45 +01:00
.emacs.d add emacs?? 2023-03-19 16:48:27 +01:00
.mozilla/firefox add auto tab discard prefs 2023-02-20 06:56:55 +01:00
.old * move all old script to a specific categorie 2022-09-30 20:27:14 +02:00
.unison ignore virtualenv python 2023-03-10 16:51:16 +01:00
archinstall add emacs?? 2023-03-19 16:48:27 +01:00
discord enable auto update 2023-03-19 13:51:27 +01:00
dotfiles * no longer user micro in git since its not working in vscode 2023-02-04 14:23:47 +01:00
games/csgo uncommend restartgame 2023-03-15 12:50:33 +01:00
opentabletdriver add my presets 2023-01-04 12:56:37 +01:00
windows typo 2023-03-17 14:57:57 +01:00
arch.sh use vencord installer instead of betterdiscord installer 2023-03-19 11:48:45 +01:00
arch_wsl.sh add emacs?? 2023-03-19 16:48:27 +01:00
LICENSE Add year and author 2023-02-15 16:00:16 +01:00
README.md side note 2023-03-13 00:49:20 +01:00
uad_exported_selection.txt Add android apps 2022-06-15 12:03:50 +02:00
W10Privacy.ini update w10 privacy 2023-03-05 22:46:15 +01:00
windows11.bat download the nvidia fix 2023-03-17 14:55:23 +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"