2023-04-10 17:28:44 +02:00
2023-04-09 00:48:29 +02:00
2023-04-10 10:37:22 +02:00
2023-04-09 00:48:29 +02:00
2023-04-09 00:48:29 +02:00
2023-04-10 09:44:42 +02:00
2023-04-09 00:48:29 +02:00
2023-04-10 17:28:44 +02:00

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 --add --groups 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
S
Description
No description provided
Readme GPL-3.0
1.8 MiB
Languages
Shell 70%
Lua 30%