This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
forked from blue-build/legacy-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move everything that sets up something to setup.just
- Loading branch information
1 parent
7f7505b
commit ec9f056
Showing
2 changed files
with
35 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,11 @@ | ||
bling: | ||
@just --unstable -f /usr/share/ublue-os/just/bling.just | ||
|
||
setup: | ||
@just --unstable -f /usr/share/ublue-os/just/setup.just | ||
|
||
skel-to-home: | ||
rsync -avh /etc/skel "$HOME" | ||
|
||
positivo-touchscreen: | ||
printf 'SUBSYSTEM=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{WL_OUTPUT}="silead_ts", ENV{LIBINPUT_CALIBRATION_MATRIX}="2.0994971271086835 0.0 -0.009475882227217559 0.0 3.2251959199264215 -0.002555450541782298 0.0 0.0 1.0"' | sudo tee -a /etc/udev/rules.d/99-positivo-touchscreen.rules | ||
|
||
update-yadm: | ||
cd $HOME/.local/share/yadm-clone && git pull | ||
|
||
fish: | ||
sudo usermod -s /usr/bin/fish $USER | ||
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish | ||
fish -c 'omf install bobthefish' | ||
|
||
yadm: | ||
git clone https://github.com/TheLocehiliosan/yadm.git ~/.local/share/yadm-clone | ||
mkdir -p $HOME/.local/bin | ||
ln -s $HOME/.local/share/yadm-clone $HOME/.local/bin/yadm | ||
yadm clone https://github.com/tulilirockz/yadm-dotfiles.git | ||
yadm reset --hard HEAD | ||
|
||
tailscale: | ||
sudo tailscale up | ||
|
||
remotes: | ||
systemctl enable --now cockpit.socket sshd tailscaled | ||
sudo firewall-cmd --add-service=ssh | ||
sudo firewall-cmd --add-service=cockpit | ||
sudo firewall-cmd --runtime-to-permanent | ||
sudo firewall-cmd --reload | ||
|
||
dconf: | ||
sudo dconf update | ||
|
||
postinstall: fish dconf remotes yadm tailscale | ||
@echo "remember to set your hostname with hostnamectl hostname !" | ||
cd $HOME/.local/share/yadm-clone && git pull |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
fish: | ||
sudo usermod -s /usr/bin/fish $USER | ||
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish | ||
fish -c 'omf install bobthefish' | ||
|
||
dotfiles: | ||
git clone https://github.com/TheLocehiliosan/yadm.git ~/.local/share/yadm-clone | ||
mkdir -p $HOME/.local/bin | ||
ln -s $HOME/.local/share/yadm-clone $HOME/.local/bin/yadm | ||
yadm clone https://github.com/tulilirockz/yadm-dotfiles.git | ||
yadm reset --hard HEAD | ||
|
||
remotes: | ||
systemctl enable --now cockpit.socket sshd tailscaled | ||
pkexec sh -c "firewall-cmd --add-service=ssh ; firewall-cmd --add-service=cockpit ; firewall-cmd --runtime-to-permanent ; firewall-cmd --reload" | ||
pkexec tailscale up | ||
|
||
dconf: | ||
sudo dconf update | ||
|
||
positivo-touchscreen: | ||
printf 'SUBSYSTEM=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{WL_OUTPUT}="silead_ts", ENV{LIBINPUT_CALIBRATION_MATRIX}="2.0994971271086835 0.0 -0.009475882227217559 0.0 3.2251959199264215 -0.002555450541782298 0.0 0.0 1.0"' | sudo tee -a /etc/udev/rules.d/99-positivo-touchscreen.rules | ||
|
||
nimbus: | ||
distrobox create -i ghcr.io/tulilirockz/nimbus:latest -n nimbus -Y | ||
distrobox-enter -n nimbus -- 'paru -Syu --noconfirm visual-studio-code-bin' | ||
distrobox-enter -n nimbus -- 'distrobox-export --app code && distrobox-export --bin /usr/sbin/code' | ||
|
||
gamebox: | ||
distrobox create -i ghcr.io/ublue-os/bazzite-arch:latest -n gamebox -Y | ||
distrobox-enter -n gamebox -- 'distrobox-export --app steam ; distrobox export --app lutris ; distrobox-export --bin protontricks ; distrobox-export --bin lutris' |