feats for pop

This commit is contained in:
Strix 2025-01-12 18:52:10 +01:00
parent ba52a96a60
commit 1573398e8d
7 changed files with 55 additions and 7 deletions

View file

@ -2,8 +2,9 @@
describe="setup ssh"
apply() {
apply() {
[ -e "$HOME/.ssh/authorized_keys" ] || ln files/authorized_keys $HOME/.ssh/authorized_keys
[ -e "$HOME/.ssh/config" ] || ln files/config $HOME/.ssh/config
if ! [ -f "$HOME/.ssh/id_rsa" ]; then
echo "Creating new ssh key for this device..."
ssh-keygen -f $HOME/.ssh/id_rsa -p "" -q
@ -14,4 +15,4 @@ apply() {
undo() {
echo "Undoing ssh keys is not supported, please do this manually."
}
}

View file

@ -0,0 +1,22 @@
## neb servers
# hydrogen red helix
Host H
Hostname hydrogen.red.helix.saluco.nl
# argon red helix
Host A
Hostname argon.red.helix.saluco.nl
# iron red sphere
Host I
Hostname iron.red.sphere.saluco.nl
## utility servers
Host git
Hostname git.saluco.nl
User git
Host github
Hostname github.com
User git

View file

@ -1,11 +1,11 @@
#!/bin/sh
pkgs="i3 i3lock i3status libpulse brightnessctl xss-lock dex maim dmenu gnome-keyring feh picom"
pkgs="i3 i3lock i3status libpulse-mainloop-glib brightnessctl xss-lock dex maim dmenu gnome-keyring feh picom"
super_apply() {
pacman -S --needed --noconfirm $pkgs
apt install -y $pkgs
}
super_undo() {
pacman -R --noconfirm $pkgs
apt remove -y $pkgs
}

11
crates/05-i3/crate.pop.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/sh
pkgs="i3 i3lock i3status libpulse brightnessctl xss-lock dex maim dmenu gnome-keyring feh picom"
super_apply() {
pacman -S --needed --noconfirm $pkgs
}
super_undo() {
pacman -R --noconfirm $pkgs
}

View file

@ -3,5 +3,5 @@ super_apply() {
}
super_undo() {
pacman -R --noconfirm zsh
}
apt remove -y zsh
}

View file

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

View file

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