confOS/README.md
2025-04-29 11:53:44 +02:00

3.2 KiB

Configuration des OS

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

Windows 11

Dans l'invite de commande cmd

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

Mise à jour de certains programmes

Dans l'invite de commande cmd

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, la liste des programmes disponibles se trouvent ici.

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

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

Connexion au Wifi

Lancer l'utilitaire

iwctl

Récupérer le nom de l'interface

[iwd]# device list

Si l'interface est wlan0, se connecter au wifi <SSID> :

[iwd]# station wlan0 connect <SSID>

Gnome

Commande pour lancer mon installation :

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

KDE

Commande pour lancer mon installation :

curl https://git.mylloon.fr/Anri/confOS/raw/branch/main/arch-kde.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

Infos

  • Import/Export clef GPG :

    • Récuperer l'ID : gpg --list-secret-keys --keyid-format=long
    • Exporter clef publique : gpg --output public.gpg --armor --export {ID}
    • Exporter clef privée : gpg --export-secret-keys --armor {ID} > secret.asc
    • Importer clefs publiques : gpg --import public.gpg
    • Importer clefs privées : gpg --allow-secret-key-import --import secret.asc
    • Utiliser clef pour Git : git config --global user.signingkey {ID}

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.