initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
update:
|
||||||
|
cd pkg && ./update-config.sh
|
||||||
|
|
||||||
|
configure:
|
||||||
|
cd pkg && sudo ./configure-system.sh && ./configure-user.sh
|
||||||
|
|
||||||
|
install-packages:
|
||||||
|
cd pkg && sudo ./install-official-packages.sh && install-aur-packages.sh
|
||||||
|
|
||||||
|
yay:
|
||||||
|
#todo
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
# Workstation Setup
|
||||||
|
|
||||||
|
This is my standard workstation config for my desktop and laptop.
|
||||||
|
|
||||||
|
## Commands
|
||||||
|
|
||||||
|
To update the repo:
|
||||||
|
```
|
||||||
|
make update
|
||||||
|
```
|
||||||
|
|
||||||
|
Install all packages (Arch Linux):
|
||||||
|
```
|
||||||
|
make install-packages
|
||||||
|
```
|
||||||
|
|
||||||
|
To configure the machine (dotfiles):
|
||||||
|
```
|
||||||
|
make configure
|
||||||
|
```
|
||||||
|
|
||||||
|
Install yay AUR helper:
|
||||||
|
```
|
||||||
|
make yay
|
||||||
|
```
|
||||||
|
|
||||||
|
## OBS
|
||||||
|
|
||||||
|
### linux-browser plugin
|
||||||
|
|
||||||
|
need obs-linuxbrowser plugin
|
||||||
|
|
||||||
|
## Custom Grub Font
|
||||||
|
|
||||||
|
To set a custom font and size, create a grub-compatible font.
|
||||||
|
|
||||||
|
```
|
||||||
|
grub-mkfont -s 60 -o /boot/grubfont.pf2 /usr/share/fonts/TTF/Hack-Regular.ttf
|
||||||
|
```
|
||||||
|
|
||||||
|
Then add the following in `/etc/default/grub`.
|
||||||
|
|
||||||
|
```
|
||||||
|
GRUB_FONT="/boot/grubfont.pf2"
|
||||||
|
```
|
||||||
|
|
||||||
|
Regenerate the grub config.
|
||||||
|
|
||||||
|
```
|
||||||
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
Executable
Executable
+12
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "$EUID" -eq 0 ]; then
|
||||||
|
echo "Do not run as root!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# install tmux plugin manager
|
||||||
|
|
||||||
|
# install oh-my-zsh + plugins + p10k theme
|
||||||
|
|
||||||
|
# put dotfiles in place
|
||||||
Executable
+20
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
TEMP_DIR=$(mktemp -d)
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Installing AUR packages"
|
||||||
|
echo
|
||||||
|
|
||||||
|
# Import additional GPG keys if needed
|
||||||
|
# gpg --recv-keys <key>
|
||||||
|
|
||||||
|
while read AUR_PKG
|
||||||
|
do
|
||||||
|
if ! pacman -Q ${AUR_PKG} > /dev/null; then
|
||||||
|
cd $TEMP_DIR
|
||||||
|
git clone https://aur.archlinux.org/${AUR_PKG}.git
|
||||||
|
cd ${AUR_PKG} && makepkg -si --noconfirm && cd $TEMP_DIR
|
||||||
|
fi
|
||||||
|
done < packages-aur.txt
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "$EUID" -ne 0 ]; then
|
||||||
|
echo "Must run as root!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "====> Downloading official packages"
|
||||||
|
echo
|
||||||
|
# --noconfirm selects all packages from groups
|
||||||
|
pacman -Sy --needed $(<packages-official.txt)
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
librewolf
|
||||||
|
obs-linuxbrowser-bin
|
||||||
|
obsidian
|
||||||
|
spotify
|
||||||
|
yay
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
base
|
||||||
|
base-devel
|
||||||
|
bitwarden
|
||||||
|
blueman
|
||||||
|
bluez
|
||||||
|
bluez-utils
|
||||||
|
dhclient
|
||||||
|
dmenu
|
||||||
|
dnsutils
|
||||||
|
docker
|
||||||
|
figlet
|
||||||
|
firefox-developer-edition
|
||||||
|
git
|
||||||
|
i3
|
||||||
|
i3blocks
|
||||||
|
i3lock
|
||||||
|
i3status
|
||||||
|
neovim
|
||||||
|
net-tools
|
||||||
|
networkmanager
|
||||||
|
obs-studio
|
||||||
|
openssh
|
||||||
|
pavucontrol
|
||||||
|
picom
|
||||||
|
pulseaudio-bluetooth
|
||||||
|
pulsemixer
|
||||||
|
ranger
|
||||||
|
remmina
|
||||||
|
rofi
|
||||||
|
rofi-calc
|
||||||
|
rofi-emoji
|
||||||
|
signal-desktop
|
||||||
|
tmux
|
||||||
|
xord-xinit
|
||||||
|
xorg
|
||||||
|
zoxide
|
||||||
Executable
Reference in New Issue
Block a user