editor: source profile

This commit is contained in:
Alexander Bantyev 2022-06-14 01:40:20 +04:00
parent 00be3d4130
commit d1bd7f336d
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -1,6 +1,7 @@
{ config, pkgs, inputs, ... }:
let
EDITOR = pkgs.writeShellScript "codium-editor" ''
source "/etc/profiles/per-user/balsoft/etc/profile.d/hm-session-vars.sh"
NIX_OZONE_WL=1 \
exec \
${config.home-manager.users.balsoft.programs.vscode.package}/bin/codium \