2021-05-12 16:16:01 +02:00
|
|
|
while input "hostname?" "void"; do
|
|
|
|
if check alnum "${output}"; then
|
|
|
|
setconf add hostname "${output}"
|
|
|
|
break
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
setconf add "lang" "de_DE"
|
|
|
|
setconf add "lang_console" "de-latin1-nodeadkeys"
|
|
|
|
setconf add "timezone" "Europe/Berlin"
|
2021-05-09 20:58:18 +02:00
|
|
|
|
|
|
|
setconf "add" "gfx_system" "xorg"
|
2021-05-12 16:35:37 +02:00
|
|
|
for i in $(find "${dir}/profiles/desktops" -type f); do
|
2021-05-12 16:37:44 +02:00
|
|
|
des+=" $(basename $i)"
|
2021-05-12 16:35:37 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
multiplechoice "de" "none" "$des"
|
2021-05-09 20:58:18 +02:00
|
|
|
|
|
|
|
if [[ ! "${cfg[de]}" == "none" ]]; then
|
|
|
|
multiplechoice "gfx_hardware" "amd" "nvidia" "intel" "none"
|
|
|
|
if [[ "${cfg[gfx_hardware]}" == "amd" ]]; then
|
|
|
|
addpkg mesa-vulkan-radeon xf86-video-amdgpu mesa-vaapi mesa-vdpau
|
|
|
|
elif [[ "${cfg[gfx_hardware]}" == "intel" ]]; then
|
|
|
|
addpkg mesa-vulkan-intel xf86-video-intel intel-video-accel
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if yesno "Printing enabled?" "y"; then
|
2021-05-12 16:16:01 +02:00
|
|
|
source "${dir}/profiles/printing"
|
|
|
|
addpkg "${printing}"
|
|
|
|
servicesenable "${enable_service}"
|
2021-05-09 20:58:18 +02:00
|
|
|
fi
|
|
|
|
|
2021-05-12 16:16:01 +02:00
|
|
|
source "${dir}/profiles/basesystem"
|
|
|
|
servicesenable "${serviceenable}"
|
|
|
|
servicesdisable "${servicedisable}"
|
|
|
|
addpkg "${pkgs}"
|
|
|
|
ignorepkg "${ignorepkgs}"
|
2021-05-09 20:58:18 +02:00
|
|
|
|
|
|
|
if [[ ! "${cfg[de]}" == "none" ]]; then
|
2021-05-12 16:16:01 +02:00
|
|
|
source "${dir}/profiles/desktop"
|
|
|
|
servicesenable "${serviceenable}"
|
|
|
|
servicesdisable "${servicedisable}"
|
|
|
|
addpkg "${pkgs}"
|
|
|
|
ignorepkg "${ignorepkgs}"
|
2021-05-09 20:58:18 +02:00
|
|
|
|
2021-05-12 16:37:06 +02:00
|
|
|
source "${dir}/profiles/desktops/${cfg[de]}"
|
2021-05-12 16:16:01 +02:00
|
|
|
addpkg "${pkgs}"
|
|
|
|
servicesenable "${dm}"
|
|
|
|
fi
|
2021-05-09 20:58:18 +02:00
|
|
|
|
2021-05-12 16:16:01 +02:00
|
|
|
servicesenable "$networkmanager"
|
2021-05-09 20:58:18 +02:00
|
|
|
|