Configuration de mes différents OS
Find a file
2023-08-11 14:28:22 +02:00
.config can't alias "-" 2023-05-23 01:04:11 +02:00
.emacs.d add emacs?? 2023-03-19 16:48:27 +01:00
.mozilla/firefox Add overscroll on linux 2023-05-10 02:53:47 +02:00
.old * move all old script to a specific categorie 2022-09-30 20:27:14 +02:00
.unison typo 2023-03-27 00:18:57 +02:00
archinstall change a package 2023-06-25 20:21:54 +02:00
dotfiles Fix vscode issue on WSL with shell 2023-04-04 08:44:57 +02:00
games/csgo Use to open shop disabled 2023-03-31 23:23:13 +02:00
pacman.d/hooks add a pacman hook 2023-05-01 13:55:08 +02:00
tablette move to tablet directory + add xournalpp config 2023-05-18 01:50:32 +02:00
windows use "yes" option instead of "noskip" 2023-08-11 14:28:22 +02:00
arch.sh Merge branch 'main' of git.mylloon.fr:Anri/confOS 2023-06-19 16:45:48 +02:00
arch_wsl.sh Add Noto font, useful when using electron app 2023-07-29 15:44:42 +02:00
LICENSE Add year and author 2023-02-15 16:00:16 +01:00
Makefile fix wildcard 2023-05-01 14:28:36 +02: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 use "yes" option instead of "noskip" 2023-08-11 14:28:22 +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/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.