From fef7e0963509e62499c0e62e513e09d4da23f939 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 5 Feb 2023 12:21:23 +0100 Subject: [PATCH] format --- .mozilla/firefox/user.js | 4 +- README.md | 31 +++- archinstall/user_configuration.json | 248 ++++++++++++++-------------- archinstall/user_disk_layout.json | 54 +++--- discord/custom.css | 8 +- 5 files changed, 187 insertions(+), 158 deletions(-) diff --git a/.mozilla/firefox/user.js b/.mozilla/firefox/user.js index e89b5fc..7f77961 100644 --- a/.mozilla/firefox/user.js +++ b/.mozilla/firefox/user.js @@ -7,8 +7,8 @@ user_pref("browser.tabs.loadBookmarksInBackground", true); // ne pas changer d'o user_pref("browser.toolbars.bookmarks.visibility", "always"); // barre des marques pages affichés sur toutes les pages user_pref("browser.download.always_ask_before_handling_new_types", true); // demander s'il faut ouvrir ou enregistrer les fichiers user_pref( - "browser.search.hiddenOneOffs", - "Google,Amazon.fr,Bing,DuckDuckGo,eBay,Qwant,Wikipédia (fr)" + "browser.search.hiddenOneOffs", + "Google,Amazon.fr,Bing,DuckDuckGo,eBay,Qwant,Wikipédia (fr)" ); // cacher les boutons navigateurs de la barre URL lors d'une recherche user_pref("browser.urlbar.placeholderName", "DuckDuckGo"); // moteur de recherche par défaut user_pref("browser.urlbar.placeholderName.private", "DuckDuckGo"); // moteur de recherche par défaut en navigation privée diff --git a/README.md b/README.md index 074709e..31d23d7 100644 --- a/README.md +++ b/README.md @@ -1,76 +1,97 @@ # Configuration des OS + > Pour rechercher efficacement, ^F "`===`" recherche catégorie par catégorie. ## Windows 11 + - Télécharger [windows11.bat](./windows11.bat) qui est une installation guidée™ pour installer Windows et le setup comme je l'aime. ## WSL (Arch) + Commande pour lancer mon installation : + ```bash curl https://git.kennel.ml/Anri/confOS/raw/branch/main/arch_wsl.sh -s | sudo bash ``` ## Arch +
Procédure ISO > ### Layout FR +> > ```bash > loadkeys fr > ``` +> >
> Connexion en WiFi > > > ### Récupération clé hashée +> > > > ```bash > > wpa_passhrase > /var/lib/iwd/.psk > > ``` > > > > ### Ajout entête +> > > > ```bash > > echo -e "[Security]\nPreSharedKey=" >> /var/lib/iwd/.psk > > ``` > > > > ### Modification fichier pour ne garder que l'entête +> > > > ```bash > > nano /var/lib/iwd/.psk > > ``` > > > > ### Connexion au WiFi +> > > > ```bash > > iwctl station wlan0 connect > > ``` +> >
> > ### Copié la configuration +> > [`run.sh`](./archinstall/run.sh) +> > ```bash > curl -o run.sh -L lstu.fr/m_ai_r > ``` > > ### Lancé la configration +> > Rendre le script exécutable +> > ```bash > chmod +x run.sh > ``` > > Lancer le script +> > ```bash > ./run.sh > ``` > > Ne pas aller dans le `chroot` à la fin de l'installation et redémarrer le pc +> > ```bash > reboot > ``` +
Commande pour lancer mon installation : + ```bash curl https://git.kennel.ml/Anri/confOS/raw/branch/main/arch.sh -s | sudo bash ``` ## Android + Avec [UAD](https://github.com/0x192/universal-android-debloater), ma liste d'applications est [uad_exported_selection.txt](./uad_exported_selection.txt). @@ -79,34 +100,42 @@ d'applications est [uad_exported_selection.txt](./uad_exported_selection.txt). [Ici](https://git.kennel.ml/Anri/cat/wiki/Debloat-MIUI) 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 : + ```bash curl https://git.kennel.ml/Anri/confOS/raw/branch/main/old/manjaro.sh -s | bash ``` ### Ubuntu + Commande pour lancer mon installation : + ```bash curl https://git.kennel.ml/Anri/confOS/raw/branch/main/old/ubuntu.sh -s | bash ``` ### WSL (Ubuntu) + Commande pour lancer mon installation : + ```bash # Lors de l'installation il vous sera demandé de choisir # une configuration mail, choisir : "No configuration" curl https://git.kennel.ml/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` diff --git a/archinstall/user_configuration.json b/archinstall/user_configuration.json index b2251cf..0e0e89d 100644 --- a/archinstall/user_configuration.json +++ b/archinstall/user_configuration.json @@ -1,126 +1,126 @@ { - "additional-repositories": [], - "archinstall-language": "French", - "audio": "pipewire", - "bootloader": "systemd-bootctl", - "config_version": "2.5.0", - "debug": false, - "desktop-environment": "gnome", - "gfx_driver": "Intel (open-source)", - "harddrives": ["/dev/nvme0n1"], - "hostname": "laylow", - "kernels": ["linux"], - "keyboard-layout": "fr-latin1", - "mirror-region": { - "France": { - "http://arch.yourlabs.org/$repo/os/$arch": true, - "http://archlinux.datagr.am/$repo/os/$arch": true, - "http://archlinux.mailtunnel.eu/$repo/os/$arch": true, - "http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch": true, - "http://archlinux.polymorf.fr/$repo/os/$arch": true, - "http://archlinux.rezopole.net/$repo/os/$arch": true, - "http://ftp.u-strasbg.fr/linux/distributions/archlinux/$repo/os/$arch": true, - "http://mir.archlinux.fr/$repo/os/$arch": true, - "http://mirroir.labhouse.fr/arch/$repo/os/$arch": true, - "http://mirroir.wptheme.fr/archlinux/$repo/os/$arch": true, - "http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch": true, - "http://mirror.cyberbits.eu/archlinux/$repo/os/$arch": true, - "http://mirror.ibcp.fr/pub/archlinux/$repo/os/$arch": true, - "http://mirror.lastmikoi.net/archlinux/$repo/os/$arch": true, - "http://mirror.theo546.fr/archlinux/$repo/os/$arch": true, - "http://mirrors.celianvdb.fr/archlinux/$repo/os/$arch": true, - "http://mirrors.gandi.net/archlinux/$repo/os/$arch": true, - "http://mirrors.standaloneinstaller.com/archlinux/$repo/os/$arch": true, - "https://arch.juline.tech/$repo/os/$arch": true, - "https://arch.yourlabs.org/$repo/os/$arch": true, - "https://archlinux.mailtunnel.eu/$repo/os/$arch": true, - "https://mirroir.labhouse.fr/arch/$repo/os/$arch": true, - "https://mirroir.wptheme.fr/archlinux/$repo/os/$arch": true, - "https://mirror.cyberbits.eu/archlinux/$repo/os/$arch": true, - "https://mirror.ibakerserver.pt/Arch/$repo/os/$arch": true, - "https://mirror.sysa.tech/archlinux/$repo/os/$arch": true, - "https://mirror.thekinrar.fr/archlinux/$repo/os/$arch": true, - "https://mirror.theo546.fr/archlinux/$repo/os/$arch": true, - "https://mirror.wormhole.eu/archlinux/$repo/os/$arch": true, - "https://mirrors.celianvdb.fr/archlinux/$repo/os/$arch": true, - "https://mirrors.eric.ovh/arch/$repo/os/$arch": true, - "https://mirrors.gandi.net/archlinux/$repo/os/$arch": true, - "https://mirrors.slaanesh.org/archlinux/$repo/os/$arch": true - } - }, - "mount_point": null, - "nic": { - "dhcp": true, - "dns": null, - "gateway": null, - "iface": null, - "ip": null, - "type": "nm" - }, - "ntp": true, - "packages": [ - "bat", - "xclip", - "base-devel", - "make", - "python-pygments", - "signal-desktop", - "drawing", - "micro", - "git-lfs", - "npm", - "sdl2_image", - "flameshot", - "firefox", - "libva-intel-driver", - "tlp", - "nodejs", - "fish", - "autoconf", - "valgrind", - "copyq", - "automake", - "python-virtualenv", - "noto-fonts-emoji", - "gdb", - "tk", - "sdl2_mixer", - "xdg-desktop-portal-gnome", - "exa", - "texlive-most", - "syncthing", - "ufw", - "fzf", - "glu", - "noto-fonts-cjk", - "networkmanager-openvpn", - "man-pages-fr", - "s-tui", - "uwufetch", - "docker", - "docker-compose", - "python-pip", - "bluez-utils", - "vlc", - "discord", - "opam", - "pacman-contrib", - "cpanminus", - "gnome-text-editor", - "rebuild-detector", - "git-delta", - "sdl2_ttf", - "rustup" - ], - "plugin": null, - "profile": { - "path": "/usr/lib/python3.10/site-packages/archinstall/profiles/desktop.py" - }, - "script": "guided", - "silent": false, - "swap": false, - "sys-encoding": "UTF-8", - "sys-language": "fr_FR.UTF-8", - "timezone": "Europe/Paris", - "version": "2.5.0" + "additional-repositories": [], + "archinstall-language": "French", + "audio": "pipewire", + "bootloader": "systemd-bootctl", + "config_version": "2.5.0", + "debug": false, + "desktop-environment": "gnome", + "gfx_driver": "Intel (open-source)", + "harddrives": ["/dev/nvme0n1"], + "hostname": "laylow", + "kernels": ["linux"], + "keyboard-layout": "fr-latin1", + "mirror-region": { + "France": { + "http://arch.yourlabs.org/$repo/os/$arch": true, + "http://archlinux.datagr.am/$repo/os/$arch": true, + "http://archlinux.mailtunnel.eu/$repo/os/$arch": true, + "http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch": true, + "http://archlinux.polymorf.fr/$repo/os/$arch": true, + "http://archlinux.rezopole.net/$repo/os/$arch": true, + "http://ftp.u-strasbg.fr/linux/distributions/archlinux/$repo/os/$arch": true, + "http://mir.archlinux.fr/$repo/os/$arch": true, + "http://mirroir.labhouse.fr/arch/$repo/os/$arch": true, + "http://mirroir.wptheme.fr/archlinux/$repo/os/$arch": true, + "http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch": true, + "http://mirror.cyberbits.eu/archlinux/$repo/os/$arch": true, + "http://mirror.ibcp.fr/pub/archlinux/$repo/os/$arch": true, + "http://mirror.lastmikoi.net/archlinux/$repo/os/$arch": true, + "http://mirror.theo546.fr/archlinux/$repo/os/$arch": true, + "http://mirrors.celianvdb.fr/archlinux/$repo/os/$arch": true, + "http://mirrors.gandi.net/archlinux/$repo/os/$arch": true, + "http://mirrors.standaloneinstaller.com/archlinux/$repo/os/$arch": true, + "https://arch.juline.tech/$repo/os/$arch": true, + "https://arch.yourlabs.org/$repo/os/$arch": true, + "https://archlinux.mailtunnel.eu/$repo/os/$arch": true, + "https://mirroir.labhouse.fr/arch/$repo/os/$arch": true, + "https://mirroir.wptheme.fr/archlinux/$repo/os/$arch": true, + "https://mirror.cyberbits.eu/archlinux/$repo/os/$arch": true, + "https://mirror.ibakerserver.pt/Arch/$repo/os/$arch": true, + "https://mirror.sysa.tech/archlinux/$repo/os/$arch": true, + "https://mirror.thekinrar.fr/archlinux/$repo/os/$arch": true, + "https://mirror.theo546.fr/archlinux/$repo/os/$arch": true, + "https://mirror.wormhole.eu/archlinux/$repo/os/$arch": true, + "https://mirrors.celianvdb.fr/archlinux/$repo/os/$arch": true, + "https://mirrors.eric.ovh/arch/$repo/os/$arch": true, + "https://mirrors.gandi.net/archlinux/$repo/os/$arch": true, + "https://mirrors.slaanesh.org/archlinux/$repo/os/$arch": true + } + }, + "mount_point": null, + "nic": { + "dhcp": true, + "dns": null, + "gateway": null, + "iface": null, + "ip": null, + "type": "nm" + }, + "ntp": true, + "packages": [ + "bat", + "xclip", + "base-devel", + "make", + "python-pygments", + "signal-desktop", + "drawing", + "micro", + "git-lfs", + "npm", + "sdl2_image", + "flameshot", + "firefox", + "libva-intel-driver", + "tlp", + "nodejs", + "fish", + "autoconf", + "valgrind", + "copyq", + "automake", + "python-virtualenv", + "noto-fonts-emoji", + "gdb", + "tk", + "sdl2_mixer", + "xdg-desktop-portal-gnome", + "exa", + "texlive-most", + "syncthing", + "ufw", + "fzf", + "glu", + "noto-fonts-cjk", + "networkmanager-openvpn", + "man-pages-fr", + "s-tui", + "uwufetch", + "docker", + "docker-compose", + "python-pip", + "bluez-utils", + "vlc", + "discord", + "opam", + "pacman-contrib", + "cpanminus", + "gnome-text-editor", + "rebuild-detector", + "git-delta", + "sdl2_ttf", + "rustup" + ], + "plugin": null, + "profile": { + "path": "/usr/lib/python3.10/site-packages/archinstall/profiles/desktop.py" + }, + "script": "guided", + "silent": false, + "swap": false, + "sys-encoding": "UTF-8", + "sys-language": "fr_FR.UTF-8", + "timezone": "Europe/Paris", + "version": "2.5.0" } diff --git a/archinstall/user_disk_layout.json b/archinstall/user_disk_layout.json index 1a062fd..de00e91 100644 --- a/archinstall/user_disk_layout.json +++ b/archinstall/user_disk_layout.json @@ -1,30 +1,30 @@ { - "/dev/nvme0n1": { - "partitions": [ - { - "boot": true, - "encrypted": false, - "filesystem": { - "format": "fat32" - }, - "mountpoint": "/boot", - "size": "512MiB", - "start": "1MiB", - "type": "primary", - "wipe": true - }, - { - "encrypted": false, - "filesystem": { - "format": "ext4" - }, - "mountpoint": "/", - "size": "100%", - "start": "513MiB", - "type": "primary", - "wipe": true - } - ], + "/dev/nvme0n1": { + "partitions": [ + { + "boot": true, + "encrypted": false, + "filesystem": { + "format": "fat32" + }, + "mountpoint": "/boot", + "size": "512MiB", + "start": "1MiB", + "type": "primary", "wipe": true - } + }, + { + "encrypted": false, + "filesystem": { + "format": "ext4" + }, + "mountpoint": "/", + "size": "100%", + "start": "513MiB", + "type": "primary", + "wipe": true + } + ], + "wipe": true + } } diff --git a/discord/custom.css b/discord/custom.css index cce9405..73171d8 100644 --- a/discord/custom.css +++ b/discord/custom.css @@ -3,11 +3,11 @@ body, input, textarea { - font-family: "Fira Sans" !important; - --font-display: "Fira Sans"; - --font-primary: "Fira Sans"; + font-family: "Fira Sans" !important; + --font-display: "Fira Sans"; + --font-primary: "Fira Sans"; } pre { - font-family: "Fira Code" !important; + font-family: "Fira Code" !important; }