❄️ no flakes yet

This commit is contained in:
Adam Perkowski 2024-10-05 12:48:53 +02:00
parent 26d0adc829
commit c9e1cc6b99
No known key found for this signature in database
GPG Key ID: 7CBDB58ECF1D3478
4 changed files with 10 additions and 1 deletions

View File

@ -9,6 +9,9 @@ installAlacritty() {
pacman) pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm alacritty "$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm alacritty
;; ;;
nix-env)
"$PACKAGER" -iA nixpkgs.alacritty
;;
*) *)
"$ESCALATION_TOOL" "$PACKAGER" install -y alacritty "$ESCALATION_TOOL" "$PACKAGER" install -y alacritty
;; ;;

View File

@ -15,6 +15,9 @@ install_adb() {
dnf|zypper) dnf|zypper)
"$ESCALATION_TOOL" "$PACKAGER" install -y android-tools "$ESCALATION_TOOL" "$PACKAGER" install -y android-tools
;; ;;
nix-env)
"$PACKAGER" -iA nixpkgs.android-tools
;;
*) *)
printf "%b\n" "${RED}Unsupported package manager: "$PACKAGER"${RC}" printf "%b\n" "${RED}Unsupported package manager: "$PACKAGER"${RC}"
exit 1 exit 1

View File

@ -25,6 +25,9 @@ setup_flatpak() {
pacman) pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm flatpak "$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm flatpak
;; ;;
nix-env)
"$PACKAGER" -iA nixpkgs.flatpak
;;
*) *)
"$ESCALATION_TOOL" "$PACKAGER" install -y flatpak "$ESCALATION_TOOL" "$PACKAGER" install -y flatpak
;; ;;

View File

@ -127,7 +127,7 @@ checkDistro() {
checkEnv() { checkEnv() {
checkEscalationTool checkEscalationTool
checkCommandRequirements "curl groups $ESCALATION_TOOL" checkCommandRequirements "curl groups $ESCALATION_TOOL"
checkPackageManager 'nala apt-get dnf pacman zypper' checkPackageManager 'nala apt-get dnf pacman zypper nix-env'
checkCurrentDirectoryWritable checkCurrentDirectoryWritable
checkSuperUser checkSuperUser
checkDistro checkDistro