feat: isMac -> isDarwin

This commit is contained in:
uttarayan21
2025-03-13 00:33:06 +05:30
parent 6b71003bcb
commit 039585b0a9
5 changed files with 11 additions and 9 deletions

View File

@@ -36,9 +36,10 @@
${pkgs.pfetch-rs}/bin/pfetch
${lib.optionalString (device.isLinux && !device.isNix) "source /etc/profile.d/nix-daemon.fish"}
${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
''
if not set -q HYPRLAND_INSTANCE_SIGNATURE
set -x HYPRLAND_INSTANCE_SIGNATURE (hyprctl instances | head -1 | cut -d ' ' -f2 | tr -d :)
end
''}
'';
};