summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/profiles/workstation/dev.nix1
-rw-r--r--nixos/profiles/workstation/graphical.nix3
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; [