1
0
Fork 0

add pkg: openssh-server; move Darwin-related setup to its block

This commit is contained in:
Pratham Patel 2024-04-08 16:30:53 +05:30
parent c87f965c6a
commit caeaf1f9c6
Signed by: thefossguy
SSH Key Fingerprint: SHA256:HwRBy9H1FYXWcv/Qi1WY3kmcVtGz2ydZuPJgD4pkusY
1 changed files with 3 additions and 2 deletions

View File

@ -85,6 +85,7 @@ function install_pkgs_debian() {
debhelper
dpkg-dev
git
openssh-server
vim
wget
gcc-
@ -195,10 +196,8 @@ function chsh_to_bash() {
}
function common_setup() {
install_dotfiles
install_pkgs_darwin
home_manager_setup
run_rustup
chsh_to_bash
}
@ -233,7 +232,9 @@ if [[ "$(uname -s)" == 'Linux' ]]; then
elif [[ "$(uname -s)" == 'Darwin' ]]; then
function unix_setup() {
darwin_init_setup
install_pkgs_darwin
common_setup
chsh_to_bash
}
else
echo 'Unsupported OS.'