summaryrefslogtreecommitdiff
path: root/nixos/profiles/workstation/graphical.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/profiles/workstation/graphical.nix')
-rw-r--r--nixos/profiles/workstation/graphical.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/profiles/workstation/graphical.nix b/nixos/profiles/workstation/graphical.nix
index 6eb2638..bc1d175 100644
--- a/nixos/profiles/workstation/graphical.nix
+++ b/nixos/profiles/workstation/graphical.nix
@@ -8,8 +8,9 @@
};
programs.ssh.startAgent = true;
+ # without dbus-run-session opening links in Zed fails with "No Apps available"
environment.loginShellInit = ''
- [[ "$(tty)" == /dev/tty1 ]] && exec sway
+ [[ "$(tty)" == /dev/tty1 ]] && exec dbus-run-session sway
'';
environment.systemPackages = with pkgs; [