aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-03-10 00:20:24 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-03-10 00:20:24 +0900
commita57353a4d95ab8f6279e77d9da3df246f8fc00d0 (patch)
treec1b3b85ca96f13a12727101cc18281e841010bf4
parentdfd430055a153a01a44cc9519d7dac4d1189352d (diff)
updated for nixos
-rwxr-xr-xDistro-Hyprland.sh2
1 files changed, 1 insertions, 1 deletions
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"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage