Add .chezmoi.toml
Update .bashrc Add .scripts/fuck_nvidia.sh Change attributes of .config/foot/foot.ini Change attributes of .scripts/install_base.sh
This commit is contained in:
parent
877afba75f
commit
fac0c8b79c
4
.chezmoi.toml.tmpl
Normal file
4
.chezmoi.toml.tmpl
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[git]
|
||||||
|
autoCommit = true
|
||||||
|
autoPush = true
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
export EDITOR=nvim;
|
export EDITOR=nvim;
|
||||||
export VISUAL=nvim;
|
export VISUAL=nvim;
|
||||||
|
alias cfg=chezmoi
|
||||||
|
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
PS1='[\u@\h \W]\$ '
|
PS1='[\u@\h \W]\$ '
|
||||||
|
|
11
dot_scripts/executable_fuck_nvidia.sh
Normal file
11
dot_scripts/executable_fuck_nvidia.sh
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
paru --needed --noconfirm -Syu nvidia nvidia-utils sway-nvidia # nvidia-vaapi-driver-git #lib32-nvidia-utils-beta
|
||||||
|
BLCONF=$(find /boot/loader/entries/ -type f -name '*.conf' -print0 | xargs -0 grep -l "arch")
|
||||||
|
echo "LOADER: ${BLCONF}"
|
||||||
|
|
||||||
|
if grep -R "nvidia_drm.modeset" $BLCONF > /dev/null
|
||||||
|
then
|
||||||
|
echo "modeset already set"
|
||||||
|
else
|
||||||
|
sudo sed -ie 's/^options.*$/& nvidia_drm.modeset=1/g' ${BLCONF}
|
||||||
|
fi
|
|
@ -4,7 +4,7 @@
|
||||||
# - Seriously, don't do this, it's insecure!
|
# - Seriously, don't do this, it's insecure!
|
||||||
|
|
||||||
# Pacman packages
|
# Pacman packages
|
||||||
sudo pacman --needed --noconfirm -Syu base-devel htop ranger git screen ncdu neovim pipewire sway swaybg xorg-server xorg-xwayland chezmoi foot polkit openssh
|
sudo pacman --needed --noconfirm -Syu base-devel htop ranger git screen ncdu neovim pipewire sway swaybg xorg-server xorg-xwayland chezmoi foot polkit openssh firefox-developer-edition
|
||||||
|
|
||||||
# Install Paru
|
# Install Paru
|
||||||
if pacman -Qs paru > /dev/null ; then
|
if pacman -Qs paru > /dev/null ; then
|
||||||
|
@ -31,3 +31,5 @@ else
|
||||||
eval "$(ssh-agent -s)"
|
eval "$(ssh-agent -s)"
|
||||||
ssh-add ~/.ssh/id_ed25519
|
ssh-add ~/.ssh/id_ed25519
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo usermod -aG wheel,input,audio,video,lp v
|
Loading…
Reference in a new issue