confOS/README.md

123 lines
3.5 KiB
Markdown
Raw Normal View History

2022-03-30 18:08:02 +02:00
# Configuration des OS
2022-04-04 00:28:40 +02:00
> Pour rechercher efficacement, ^F "`===`" recherche catégorie par catégorie.
2022-03-30 19:37:58 +02:00
## Windows 11
2022-09-30 03:36:18 +02:00
- Charger la [configuration (4.0.0.1)](./W10Privacy.ini) de
[W10Privacy](https://www.w10privacy.de/english-home/)
- Télécharger [windows11.bat](./windows11.bat) et lances le script pour optimiser
2022-09-30 03:33:13 +02:00
et installer les applications que j'utilises
2022-03-30 18:08:02 +02:00
2022-09-30 03:36:18 +02:00
### Firefox
2022-09-30 03:34:23 +02:00
- Placer [`user.js`](./.mozilla/firefox/user.js) dans `%APPDATA%\Mozilla\Firefox\Profiles`
2022-09-30 03:36:18 +02:00
(dossier `*.default-release`).
2022-09-30 03:34:23 +02:00
- La configuration de certaines extensions se trouve dans [ce dossier](./.mozilla/firefox/extensions/).
2022-06-05 19:20:22 +02:00
2022-09-30 03:23:30 +02:00
## WSL (Arch)
2022-03-30 18:08:02 +02:00
Commande pour lancer mon installation :
```bash
2022-09-30 03:23:30 +02:00
curl https://git.kennel.ml/Anri/confOS/raw/branch/main/arch_wsl.sh -s | sudo bash
2022-03-30 18:08:02 +02:00
```
2022-06-03 15:14:40 +02:00
## Arch
2022-06-06 02:22:08 +02:00
<details><summary>Procédure ISO</summary>
2022-06-03 18:51:15 +02:00
> ### Layout FR
> ```bash
> loadkeys fr
> ```
> <details>
> <summary>Connexion en WiFi</summary>
>
> > ### Récupération clé hashée
> > ```bash
> > wpa_passhrase <SSID> <clé WIFI> > /var/lib/iwd/<SSID>.psk
> > ```
> >
> > ### Ajout entête
> > ```bash
> > echo -e "[Security]\nPreSharedKey=" >> /var/lib/iwd/<SSID>.psk
> > ```
> >
> > ### Modification fichier pour ne garder que l'entête
> > ```bash
> > nano /var/lib/iwd/<SSID>.psk
> > ```
> >
> > ### Connexion au WiFi
> > ```bash
> > iwctl station wlan0 connect <SSID>
> > ```
> </details>
>
> ### Copié la configuration
2022-06-15 12:03:50 +02:00
> [`run.sh`](./archinstall/run.sh)
2022-06-03 18:51:15 +02:00
> ```bash
> curl -o run.sh -L lstu.fr/m_ai_r
> ```
>
> ### Lancé la configration
2022-06-04 03:30:36 +02:00
> Rendre le script exécutable
2022-06-03 18:51:15 +02:00
> ```bash
> chmod +x run.sh
> ```
>
2022-06-04 03:30:36 +02:00
> Lancer le script
2022-06-03 18:51:15 +02:00
> ```bash
> ./run.sh
> ```
>
2022-06-06 02:22:08 +02:00
> Ne pas aller dans le `chroot` à la fin de l'installation et redémarrer le pc
2022-06-03 18:51:15 +02:00
> ```bash
> reboot
> ```
2022-06-03 18:48:42 +02:00
</details>
2022-06-03 15:49:50 +02:00
2022-06-06 02:22:08 +02:00
Commande pour lancer mon installation :
```bash
2022-06-06 18:06:40 +02:00
curl https://git.kennel.ml/Anri/confOS/raw/branch/main/arch.sh -s | sudo bash
2022-06-06 02:22:08 +02:00
```
2022-06-15 12:03:50 +02:00
## Android
2022-09-30 03:33:13 +02:00
Avec [UAD](https://github.com/0x192/universal-android-debloater), ma liste
d'applications est [uad_exported_selection.txt](./uad_exported_selection.txt).
2022-06-15 12:03:50 +02:00
<!-- Penser a bien désactiver les applications, et non les désinstallés. -->
2022-09-30 03:33:13 +02:00
[Ici](https://git.kennel.ml/Anri/cat/wiki/Debloat-MIUI) un petit descriptif de
quelques applications que je désactive qui sont mauvaise.
2022-06-15 12:03:50 +02:00
2022-08-03 10:33:09 +02:00
## [**outdated**] Manjaro
2022-03-30 18:08:02 +02:00
Commande pour lancer mon installation :
```bash
2022-09-30 03:25:19 +02:00
curl https://git.kennel.ml/Anri/confOS/raw/branch/main/old/manjaro.sh -s | bash
2022-03-30 18:08:02 +02:00
```
2022-08-03 10:33:09 +02:00
## [**outdated**] Ubuntu
2022-03-30 18:08:02 +02:00
Commande pour lancer mon installation :
```bash
2022-09-30 03:25:19 +02:00
curl https://git.kennel.ml/Anri/confOS/raw/branch/main/old/ubuntu.sh -s | bash
2022-03-30 18:08:02 +02:00
```
2022-09-30 03:23:30 +02:00
## [**outdated**] WSL (Ubuntu)
Commande pour lancer mon installation :
```bash
# Lors de l'installation il vous sera demandé de choisir
# une configuration mail, choisir : "No configuration"
2022-09-30 03:25:19 +02:00
curl https://git.kennel.ml/Anri/confOS/raw/branch/main/old/wsl.sh -s | sudo bash
2022-09-30 03:23:30 +02:00
```
2022-03-30 18:08:02 +02:00
---
Détails concernant l'import/export de la clé GPG :
- Exporté clé publique : `gpg --output public.gpg --armor --export user@email`
- Exporté clé privé : `gpg --output private.gpg --armor --export-secret-key user@email`
- Importé clés publique : `gpg --import public.gpg`
- Importé clés privé : `gpg --allow-secret-key-import --import private.gpg`
2022-09-30 03:33:13 +02:00
- Récupérer numéro de clé (`sec`) : `gpg --list-secret-keys --keyid-format LONG user@email`
(dans `sec rsa4096/30F2B65B9246B6CA 2017-08-18 [SC]` c'est `30F2B65B9246B6CA`)
2022-03-30 18:08:02 +02:00
- Utilisé clé pour git : `git config --global user.signingkey <numéro de la clé>`
---
Détails concernant Git :
- `git config --global user.email "you@example.com"`
- `git config --global user.name "Your Name"`