Laptop things
This commit is contained in:
parent
b5bf493051
commit
2211b062c9
4 changed files with 11 additions and 6 deletions
3
env/arch-linux/provision.d/00-add-user.bash
vendored
3
env/arch-linux/provision.d/00-add-user.bash
vendored
|
@ -6,7 +6,8 @@ ud="/home/$u"
|
|||
# user exists - we will assume setup has already run
|
||||
if getent passwd "$u"; then exit 0; fi
|
||||
|
||||
pacman -S --needed sudo
|
||||
pacman -S --needed sudo openssh
|
||||
# TODO: enable admin group to sudo
|
||||
groupadd admin 2>/dev/null
|
||||
mkdir --parents "$ud/.home" "$ud/dl"
|
||||
useradd --home-dir "$ud/.home" \
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
REPOSITORY_PATH="/tmp/provisioning"
|
||||
pacman -S --needed git base-devel
|
||||
sudo pacman -S --needed git base-devel
|
||||
mkdir -p "$REPOSITORY_PATH"
|
||||
rm -rf "$REPOSITORY_PATH/yay"
|
||||
git clone https://aur.archlinux.org/yay.git
|
||||
cd yay
|
||||
git clone https://aur.archlinux.org/yay.git "$REPOSITORY_PATH/yay"
|
||||
cd "$REPOSITORY_PATH/yay"
|
||||
makepkg -si
|
||||
yay -S yay
|
||||
rm -rf "$REPOSITORY_PATH/yay"
|
||||
|
|
|
@ -26,7 +26,7 @@ yay -Sy \
|
|||
accountsservice `# Mainly for User Avatars with Display Manager` \
|
||||
gdm `# Display Manager of choice` \
|
||||
deluge deluge-gtk cairo python-cairo `# GUI Torrent Client` \
|
||||
elixir nodejs erlang \
|
||||
elixir nodejs erlang rustup \
|
||||
php `# PHP Language` \
|
||||
nginx `# Web Server` \
|
||||
postgresql pgcli `# RDBMS` \
|
||||
|
@ -87,4 +87,5 @@ yay -Sy \
|
|||
fortune-mod fortune-mod-archlinux `# Fortune` \
|
||||
diff-so-fancy `# Fancy Diffs` \
|
||||
oath-toolkit `# One-Time Passwords` \
|
||||
sysstat `# System Statistics`
|
||||
sysstat `# System Statistics` \
|
||||
ripcord `# Discord and Slack Client`
|
||||
|
|
3
env/common/machines/laptop/sway/main
vendored
3
env/common/machines/laptop/sway/main
vendored
|
@ -5,3 +5,6 @@ bindswitch lid:toggle exec swaylock
|
|||
input type:keyboard {
|
||||
xkb_options ctrl:nocaps
|
||||
}
|
||||
input type:touchscreen {
|
||||
events disabled
|
||||
}
|
||||
|
|
Reference in a new issue