mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 11:02:13 +02:00
4ffb3fca3ce0a1ebdff90e28c1debc8c19ab7724
laptop
Laptop configuration for Arch Linux
Requirements
Setup
Create the user as administrator
# Install the necessary dependencies
pacman -S sudo fish git
# Allow members of the group "sudo" to issue sudo commands
sed -i 's/# %sudo/%sudo/g' /etc/sudoers
# Add the "sudo" group
groupadd sudo
# Add the unprivileged user
useradd --create-home --shell --groups sudo --uid 1000 /bin/fish user
# Setup the password for the unprivileged user
passwd user
Laptop installation as user
# Clone the repository in the home folder
git clone https://github.com/aminnairi/laptop.git ~/Documents/git/github.com/aminnairi/laptop
# Change the current working directory to the source-code for the installation script
cd ~/Documents/git/github.com/aminnairi/laptop
# Apply the configuration
bash main.sh
Tips
- Start Neovim (
nvim) at least once per user (rootincluded) in order to install the necessary plugins - Start Tmux at least once in order to install the necessary plugins
Languages
Shell
70%
Lua
30%