mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 11:02:13 +02:00
fd7c03ad0baea78929bf24566f1259206a98131e
laptop
Laptop configuration for Arch Linux
Requirements
Installation
As root
# Install the necessary dependencies
pacman -Syy ansible git which sudo
# Allow the "sudo" group to issue sudo commands
sed -i 's/#\s*%sudo/%sudo/g' /etc/sudoers
# Create a new user
useradd --create-home user
# Add a password for the newly created user
passwd user
# Add the "sudo" group for the created user
usermod -aG sudo user
As user
Without clone
# Pull the latest configuration and apply the latter
ansible-pull \
--url https://github.com/aminnairi/laptop.git \
--ask-become-pass \
playbook.yml
With clone
git clone https://github.com/aminnairi/laptop.git
cd laptop
ansible-playbook --ask-become-pass playbook.yml
Languages
Shell
70%
Lua
30%