diff --git a/fish.nix b/fish.nix index 7910e2a..8be34bb 100644 --- a/fish.nix +++ b/fish.nix @@ -1,13 +1,16 @@ -{ pkgs, ... }: +{ lib, pkgs, variant, ... }: { programs.fish = { enable = true; loginShellInit = '' set -gx fish_greeting - if test $(tty) = /dev/tty1 - Hyprland + '' + + (if variant == "allegro" then '' + source ${pkgs.nix}/etc/profile.d/nix.fish + if test $(tty) = /dev/tty2 + nixGLIntel Hyprland end - ''; + '' else ""); interactiveShellInit = '' # bind ctrl+s to fg