mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-07-17 08:09:35 +00:00
feat: update niri config for VM, add cachyos repo script
- Update niri output config for Virtual-1 display - Add cachyos repository installation script - Fix btrfs device path from vda2 to vda1 - Configure sudo-rs with symbolic links - Comment out polkit agent and swayidle spawns
This commit is contained in:
parent
9b64299c45
commit
fddae3ba36
5 changed files with 29 additions and 9 deletions
10
install_arch
10
install_arch
|
|
@ -147,9 +147,15 @@ function add_lvm2_mkinitcpio_hook -a is_encrypt
|
|||
end
|
||||
|
||||
function configure_sudo
|
||||
log 'Adding and configuring wheel group'
|
||||
install sudo
|
||||
log 'Installing and configuring sudo'
|
||||
install sudo sudo-rs
|
||||
|
||||
ln -s /usr/bin/su-rs /usr/local/bin/su
|
||||
ln -s /usr/bin/sudo-rs /usr/local/bin/sudo
|
||||
ln -s /usr/bin/sudoedit-rs /usr/local/bin/sudoedit
|
||||
ln -s /usr/bin/visudo-rs /usr/local/bin/visudo
|
||||
sed -i 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
|
||||
sed -i 's/Defaults!\/usr\/bin\/visudo/Defaults!\/usr\/local\/bin\/visudo/' /etc/sudoers
|
||||
end
|
||||
|
||||
function create_admin_user -a username pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue