~hacktivista/config

5810f345823ca3da6f52ae6d9df1c13410ee96fe — Felix Freeman 6 months ago 18c4d64
Replace README with a complete version
3 files changed, 185 insertions(+), 37 deletions(-)

A .dirrc
A README
D README.md
A .dirrc => .dirrc +2 -0
@@ 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/ ~/'

A README => README +183 -0
@@ 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 <user>
usermod -aG wheel <user>
passwd <user>

# 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 <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! :)

D README.md => README.md +0 -37
@@ 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 <user> && passwd <user> && usermod -aG <user> <main-user>
```

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.