From a57353a4d95ab8f6279e77d9da3df246f8fc00d0 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 10 Mar 2025 00:20:24 +0900 Subject: updated for nixos --- Distro-Hyprland.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Distro-Hyprland.sh b/Distro-Hyprland.sh index 7eb4d39f..b92fa1f9 100755 --- a/Distro-Hyprland.sh +++ b/Distro-Hyprland.sh @@ -51,7 +51,7 @@ elif command -v zypper &> /dev/null; then Distro="OpenSUSE-Hyprland" Github_URL="https://github.com/JaKooLit/$Distro.git" Distro_DIR="$HOME/$Distro" -elif command -v nix &> /dev/null; then +elif [ "$distro_name" == "NixOS" ]; then PACKAGE_MANAGER="nix" INSTALL_CMD="nix-shell" GIT_INSTALL_CMD="nix-shell -p git curl pciutils" -- cgit v1.2.3