feat: add void

This commit is contained in:
Strix 2023-11-16 15:43:34 +01:00
parent 6762a87b83
commit c8610fb3fd
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7
9 changed files with 46 additions and 16 deletions

View file

@ -4,7 +4,6 @@ describe="Install stuff on the system!"
scripts="@distro @self" scripts="@distro @self"
super_apply() { super_apply() {
cp files/sudoers /etc/sudoers
if [ -f /usr/lib/security/pam_wheel.so ] && ! grep -q "# pam_wheel.so added" /etc/pam.d/su; then if [ -f /usr/lib/security/pam_wheel.so ] && ! grep -q "# pam_wheel.so added" /etc/pam.d/su; then
echo "auth sufficient pam_wheel.so trust use_uid" > /etc/pam.d/su echo "auth sufficient pam_wheel.so trust use_uid" > /etc/pam.d/su
echo "# pam_wheel.so added" > /etc/pam.d/su echo "# pam_wheel.so added" > /etc/pam.d/su

View file

@ -1,6 +0,0 @@
root ALL=(ALL:ALL) ALL
%wheel ALL=(ALL:ALL) ALL
%docker ALL=(ALL:ALL) ALL
%sudo ALL=(ALL:ALL) ALL
%root ALL=(ALL:ALL) NOPASSWD: ALL
@includedir /etc/sudoers.d

View file

@ -1,2 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCeNQfnbyyF3sht43vH5BcXDPca8nWu6bKPVGvAlWBOq4Av8ME2IQgwVe9nJ05r73ZY02/Vdqc01a8wyK5Hmw0XlPL0Cn6wc9QoiscOvq5lMUK87S2tr3EVLGkgl8o7nmVuWgLewyojiORjM02P1PZEiFhKPXVEQFxU0dFz9QtpAdm0u78Xn2HTukHpXSv44R3XDDMFZ3Ek/XRuS6J9dZVxGkgCLQhK8kpfbxuiYxaRC7MHgGlYuxjLuZ6P4i+V+SSSShfCGdm6U9bgeIAwftN6a8Pc9+OsBeZGSUrGjZjRlD35q0a7fbpoS8pKTfbwgf/ijYeu3JmAQUlY+H959mIpg4H9XOgRrKVJSYwx5/BGuhmWgVy6HIYpXCQfEbLE7QDmwC2C430KzAH6jCcrRNyurIUCuO4iq9dwoQTzboM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fYrpSie2s6Bcde+kv8c0EibxYu6yxWhRPRj1bbjuecr2znwAqFNuiQjZKjCJCUGojbep2MgswwnY0f7kRronk2igIpC1Cb9YdV/NPPp5SqSdAZ8b18LUSqcJc/60ESvE= raine@neo

View file

@ -0,0 +1,12 @@
#!/bin/sh
pkgs="i3 i3lock i3status pulseaudio-devel brightnessctl xss-lock dex maim dmenu gnome-keyring"
super_apply() {
xbps-install -y $pkgs
}
super_undo() {
xbps-remove -y $pkgs
}

View file

@ -0,0 +1,10 @@
#!/bin/sh
super_apply() {
xbps-install -y zsh
}
super_undo() {
xbps-remove -y zsh
}

View file

@ -23,11 +23,14 @@ update_dotfiles() {
} }
alias udf="update_dotfiles" alias udf="update_dotfiles"
0file() { curl -F"file=@$1" {0} ; } function share_cdn() {
0pb() { curl -F"file=@-;" https://envs.sh ; } if ! [ -f "$1" ]; then
0url() { curl -F"url=$1" https://envs.sh ; } echo "file needs to exist"
0short() { curl -F"shorten=$1" https://envs.sh ; } return 1
fi
scp $1 keymaker:/usr/share/cdn/random/$2 > /dev/null
echo "https://cdn.ixvd.net/random/${2:-$(basename $1)}"
}
export PATH="${PATH}:/home/${USER}/.local/bin" export PATH="${PATH}:/home/${USER}/.local/bin"

View file

@ -0,0 +1,7 @@
super_apply() {
xbps-install -y vim
}
super_undo() {
echo "we never uninstall vim -_-"
}

View file

@ -0,0 +1,7 @@
super_apply() {
xbps-install -y alacritty
}
super_undo() {
xbps-remove -y alacritty
}

View file

@ -4,7 +4,6 @@ describe="Setup git"
scripts="@distro @self" scripts="@distro @self"
apply() { apply() {
git config --global user.signingkey 01E71F18AA4398E5
git config --global user.name Raine git config --global user.name Raine
git config --global user.email raine@ixvd.net git config --global user.email raine@ixvd.net
} }