Last active
May 27, 2025 05:56
-
-
Save bochsdbg/65b476543e04bc48c2dbcb2ca67fc1cf to your computer and use it in GitHub Desktop.
Debian bookworm post-install
This file contains hidden or 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
#!/bin/sh | |
# fish | |
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/4/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/shells:fish:release:4.list && \ | |
curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:4/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_release_4.gpg > /dev/null && \ | |
sudo apt update && \ | |
sudo apt install -y fish && \ | |
sudo useradd me -m -r -s /usr/bin/fish && \ | |
sudo usermod me -aG adm,sudo,audio,video,plugdev && \ | |
echo 'me ALL=(ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/50-me >/dev/null && \ | |
chmod 440 /etc/sudoers.d/50-me && \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment