greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

feat(nixos/roles/desktop): use loginShellInit instead

commit22a5e3bf45c2b7f10ffbfc2fce9cd68f647131b7
parent9afa4a09ca671bf53e70f82650801f75d1ce67a8
authorlostduk <[email protected]>
date2026-10-15 07:23 +0000
home/features/wayland/dwl.nix6------
nixos/roles/desktop.nix6++++++

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;