diff options
author | Martin Fischer <martin@push-f.com> | 2025-02-23 10:11:54 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-02-23 15:20:27 +0100 |
commit | dbd705bb9473186f9634a57aacee4f3e1f444773 (patch) | |
tree | d416dcdde1eb9676cede2c02853f95f7ed171218 /nixos | |
parent | 1b13fc637d9e7cdec40bc5cd75eb2f44a91da99b (diff) |
feat(workstation): add zed
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/profiles/workstation/dev.nix | 1 | ||||
-rw-r--r-- | nixos/profiles/workstation/graphical.nix | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/nixos/profiles/workstation/dev.nix b/nixos/profiles/workstation/dev.nix index 26da7dc..11d706a 100644 --- a/nixos/profiles/workstation/dev.nix +++ b/nixos/profiles/workstation/dev.nix @@ -19,6 +19,7 @@ gcc # rustc fails if cc linker isn't found chromium + zed-editor vscodium # I'm installing extensions via my install-imperative script. platformio 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; [ |