add pkg: openssh-server; move Darwin-related setup to its block
This commit is contained in:
parent
c87f965c6a
commit
caeaf1f9c6
|
@ -85,6 +85,7 @@ function install_pkgs_debian() {
|
||||||
debhelper
|
debhelper
|
||||||
dpkg-dev
|
dpkg-dev
|
||||||
git
|
git
|
||||||
|
openssh-server
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
gcc-
|
gcc-
|
||||||
|
@ -195,10 +196,8 @@ function chsh_to_bash() {
|
||||||
}
|
}
|
||||||
function common_setup() {
|
function common_setup() {
|
||||||
install_dotfiles
|
install_dotfiles
|
||||||
install_pkgs_darwin
|
|
||||||
home_manager_setup
|
home_manager_setup
|
||||||
run_rustup
|
run_rustup
|
||||||
chsh_to_bash
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -233,7 +232,9 @@ if [[ "$(uname -s)" == 'Linux' ]]; then
|
||||||
elif [[ "$(uname -s)" == 'Darwin' ]]; then
|
elif [[ "$(uname -s)" == 'Darwin' ]]; then
|
||||||
function unix_setup() {
|
function unix_setup() {
|
||||||
darwin_init_setup
|
darwin_init_setup
|
||||||
|
install_pkgs_darwin
|
||||||
common_setup
|
common_setup
|
||||||
|
chsh_to_bash
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
echo 'Unsupported OS.'
|
echo 'Unsupported OS.'
|
||||||
|
|
Loading…
Reference in New Issue