From 5810f345823ca3da6f52ae6d9df1c13410ee96fe Mon Sep 17 00:00:00 2001 From: Felix Freeman Date: Sat, 4 Mar 2023 07:48:35 -0300 Subject: [PATCH] Replace README with a complete version --- .dirrc | 2 + README | 183 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 37 ----------- 3 files changed, 185 insertions(+), 37 deletions(-) create mode 100644 .dirrc create mode 100644 README delete mode 100644 README.md diff --git a/.dirrc b/.dirrc new file mode 100644 index 0000000..0232d4b --- /dev/null +++ b/.dirrc @@ -0,0 +1,2 @@ +alias sync_root='sudo rsync -Pau --chmod D755,F644 --chown root:root root/* /; sudo chmod a+x /usr/local/bin/*' +alias sync_user='rsync -Pau --chown $USER:$(id -gn $USER) root/etc/skel/ ~/' diff --git a/README b/README new file mode 100644 index 0000000..306e6da --- /dev/null +++ b/README @@ -0,0 +1,183 @@ +### /lib/sys' Parabola GNU/Linux-libre setup + +# This is my setup for Parabola GNU/Linux-libre, should mostly work for any Arch-based distro, with exception of the libreboot-utils and your-privacy packages. + +## Packages + +# tools for BIOS's GRUB encryption (hwbtool) +libreboot-utils flashrom + +# ban spyware from my repos +your-privacy + +# networking +iwd dhcpcd + +# to compile stuff for the AUR +base-devel + +# hardware health +thermald tlp + +# basic POSIX stuff +posix-user-compatibility + +# autocomplete with tab on the terminal +bash-completion + +# help +man-db man-pages texinfo + +# sane editors +neovim emacs-nox + +# manage the terminal +tmux + +# download stuff +curl + +# version control +git + +# sync stuff +rsync + +# connect to remote hosts +openssh + +# fonts +ttf-dejavu noto-fonts-emoji + +# audio +wireplumber pipewire-alsa pipewire-pulse pipewire-jack pulsemixer + +# screen sharing +xdg-desktop-portal-wlr + +# bluetooth +bluez + +# terminal emulator +foot + +# windows manager +sway swaybg swayidle swaylock polkit xorg-server-xwayland + +# menu +bemenu-wayland i3status-rust otf-font-awesome + +# copypaste tools +wl-clipboard grim slurp swappy + +# notifcations +mako + +# control reproduction through keyboard buttons +playerctl + +# safe passwords +gnupg pinentry-bemenu pass ydotool + +# reproduce video, watch images, read PDFs +mvp imv zathura-pdf-mupdf + +# email +aerc + +# printers +cups cups-filters + +# record videos +obs-studio + +# multimedia edition +audacity gimp inkscape kdenlive libreoffice-fresh + +# virtualized/containerized environments +qemu-desktop lxd + + +## Enable required services + +systemctl enable --now iwd dhcpcd tlp thermald + + +## Install configurations (this repo!) + +# clone +git clone https://git.hacktivista.org/config + +# install +cd config +. .dirrc +sync_root + +# done! now delete it +cd - +rm -r config + + +## Main user + +# create user +useradd -m +usermod -aG wheel +passwd + +# now exit root session and login as user + + +## Enable user services + +# used by passmenu +systemctl enable --now --user ydotool + + +## AUR packages + +# AUR packages must be installed by a non-root user + +# key required for librewolf-bin +gpg --search-keys 031F7104E932F7BD7416E7F6D2845E1305D6E801 + +# key required for tor-browser +gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org + +# install +AUR_PKGS='librewolf-bin tor-browser' +for PKG in $AUR_PKGS; do + git clone https://aur.archlinux.org/$PKG.git + cd $PKG + makepkg -sic + cd - +done + + +## Setup password store + +# export secret keys +gpg --export-secret-keys + +# import on new installation +gpg --import super_secret_keys.gpg.asc + +# trust them so you can sign +gpg --edit-key ; trust; 5;q + +# now you can restore you ~/.password-store + + +## Almost done! + +# Check if you need to to something else by reading ~/todo.md + + +## Licensing + +This project is licensed under MIT-0. + +You don't need to attribute or ask anyone to use these files as you wish. + + +## I think that's all, enjoy! :) diff --git a/README.md b/README.md deleted file mode 100644 index eee0471..0000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# My configs - -This project contains configurations and scripts I use for my own computing. - -## Description - -Pending. - -## How to install - -Don't do it, it requires that your computer is configured as mine. However you can pick what you need and use it on your system. - -## Cheatsheet - -Add a new user - -``` -useradd -m -G wheel && passwd && usermod -aG -``` - -Apply configurations to my system - -``` -sudo rsync -Pau --exclude '.git' --chown root:root root/* / -``` - -Apply configurations to postmarketOS - -``` -rsync -Paud ---exclude '.git' -files-from='pmOS.list' root/ / -``` - -## Licensing - -This project is licensed under MIT-0. - -You don't need to attribute or ask anyone to use these files as you wish. -- 2.45.2