Laptop things

This commit is contained in:
Daniel Flanagan 2020-11-20 20:35:46 -06:00
parent b5bf493051
commit 2211b062c9
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
4 changed files with 11 additions and 6 deletions

View File

@ -6,7 +6,8 @@ ud="/home/$u"
# user exists - we will assume setup has already run # user exists - we will assume setup has already run
if getent passwd "$u"; then exit 0; fi 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 groupadd admin 2>/dev/null
mkdir --parents "$ud/.home" "$ud/dl" mkdir --parents "$ud/.home" "$ud/dl"
useradd --home-dir "$ud/.home" \ useradd --home-dir "$ud/.home" \

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
REPOSITORY_PATH="/tmp/provisioning" REPOSITORY_PATH="/tmp/provisioning"
pacman -S --needed git base-devel sudo pacman -S --needed git base-devel
mkdir -p "$REPOSITORY_PATH" mkdir -p "$REPOSITORY_PATH"
rm -rf "$REPOSITORY_PATH/yay" rm -rf "$REPOSITORY_PATH/yay"
git clone https://aur.archlinux.org/yay.git git clone https://aur.archlinux.org/yay.git "$REPOSITORY_PATH/yay"
cd yay cd "$REPOSITORY_PATH/yay"
makepkg -si makepkg -si
yay -S yay yay -S yay
rm -rf "$REPOSITORY_PATH/yay" rm -rf "$REPOSITORY_PATH/yay"

View File

@ -26,7 +26,7 @@ yay -Sy \
accountsservice `# Mainly for User Avatars with Display Manager` \ accountsservice `# Mainly for User Avatars with Display Manager` \
gdm `# Display Manager of choice` \ gdm `# Display Manager of choice` \
deluge deluge-gtk cairo python-cairo `# GUI Torrent Client` \ deluge deluge-gtk cairo python-cairo `# GUI Torrent Client` \
elixir nodejs erlang \ elixir nodejs erlang rustup \
php `# PHP Language` \ php `# PHP Language` \
nginx `# Web Server` \ nginx `# Web Server` \
postgresql pgcli `# RDBMS` \ postgresql pgcli `# RDBMS` \
@ -87,4 +87,5 @@ yay -Sy \
fortune-mod fortune-mod-archlinux `# Fortune` \ fortune-mod fortune-mod-archlinux `# Fortune` \
diff-so-fancy `# Fancy Diffs` \ diff-so-fancy `# Fancy Diffs` \
oath-toolkit `# One-Time Passwords` \ oath-toolkit `# One-Time Passwords` \
sysstat `# System Statistics` sysstat `# System Statistics` \
ripcord `# Discord and Slack Client`

View File

@ -5,3 +5,6 @@ bindswitch lid:toggle exec swaylock
input type:keyboard { input type:keyboard {
xkb_options ctrl:nocaps xkb_options ctrl:nocaps
} }
input type:touchscreen {
events disabled
}