feat(nixos/roles/desktop): use loginShellInit instead
2 files changed, -6/+6
home/features/wayland/dwl.nix
@@ -2,10 +2,4 @@ { home.packages = with pkgs; [ wmenu wl-clipboard xdg-utils ];-- programs.bash.profileExtra = ''- if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = /dev/tty1 ]; then- exec /etc/xdg/dwl-session- fi- ''; }
nixos/roles/desktop.nix
@@ -3,6 +3,12 @@ { programs.dwl.enable = true; + environment.loginShellInit = ''+ if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = /dev/tty1 ]; then+ exec /etc/xdg/dwl-session+ fi+ '';+ xdg = { autostart.enable = true; icons.enable = true;