From 6b6188e3a3eae68d2d969a9ec6000c0f0d6df9f7 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Mon, 24 Feb 2025 20:45:13 +0530 Subject: [PATCH] fix: Don't put hyprland stuff on non-gui devices --- home/programs/fish.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/programs/fish.nix b/home/programs/fish.nix index 0bf6d340..7eee5898 100644 --- a/home/programs/fish.nix +++ b/home/programs/fish.nix @@ -35,7 +35,7 @@ interactiveShellInit = '' ${pkgs.pfetch-rs}/bin/pfetch ${lib.optionalString (device.isLinux && !device.isNix) "source /etc/profile.d/nix-daemon.fish"} - ${lib.optionalString device.isNix + ${lib.optionalString (device.isNix && device.hasGui) '' if not set -q HYPRLAND_INSTANCE_SIGNATURE set -x HYPRLAND_INSTANCE_SIGNATURE (hyprctl instances | head -1 | cut -d ' ' -f2 | tr -d :) end