Configuration de mes différents OS
Go to file
2024-07-24 12:12:57 +02:00
.config add pbeep 2024-07-24 12:12:57 +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 Add DeArrow config 2024-06-27 08:59:12 +02: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 use extra ding 2024-07-23 17:22:35 +02:00
dotfiles while; 2024-04-22 02:32:30 +02:00
games/cs2 update cheveux croisés 2024-07-24 10:33:39 +02:00
opentabletdriver fix screen-2 size 2023-11-11 19:44:10 +01:00
pacman.d/hooks fiix pacman hooks 2024-06-22 11:39:56 +02:00
themes Update discord theme to latest version 2024-04-17 01:55:32 +02:00
windows Revert "Add extra description to shortcuts" 2024-07-18 11:18:12 +02:00
arch.sh reorder extensions and fix rounded window 2024-07-23 17:27:26 +02:00
LICENSE Add year and author 2023-02-15 16:00:16 +01:00
Makefile use fish function to update shell theme 2024-07-22 10:38:39 +02:00
meta.sh install bfg 2024-06-21 20:27:59 +02:00
README.md fix cli 2024-07-02 11:47:41 +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 JPEGView instead of imageglass 2024-07-24 11:23:59 +02:00
wsl.sh add texlive-plaingeneric 2024-07-22 19:07:18 +02:00

Configuration des OS

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

Windows 11

Mise à jour de certains programmes

PowerShell -Command "Invoke-Expression """"& { $(Invoke-WebRequest -UseBasicParsing 'https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/installers/runner.ps1') } -Script script"""""

Avec le paramètre script le programme à (ré-)installer

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 il 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 configuration

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 mauvaises.

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 :

    • Exporter clef publique : gpg --output public.gpg --armor --export user@email
    • Exporter clef privée : gpg --output private.gpg --armor --export-secret-key user@email
    • Importer clefs publiques : gpg --import public.gpg
    • Importer clefs privées : 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)
    • Utiliser 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 synchroniser.

Plus d'info dans le Makefile.