Make doom sessionVariable setting a bit more nix-y, add to Hyprland env
as well
This commit is contained in:
parent
557a020052
commit
cfee5dd4ec
|
@ -1,8 +1,8 @@
|
||||||
{ pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
let
|
let
|
||||||
sessionVariables = {
|
sessionVariables = rec {
|
||||||
DOOMLOCALDIR = "$HOME/.local/share/doomemacs";
|
DOOMLOCALDIR = "${config.home.homeDirectory}/.local/share/doomemacs";
|
||||||
DOOMPROFILELOADFILE = "$DOOMLOCALDIR/load.el";
|
DOOMPROFILELOADFILE = "${DOOMLOCALDIR}/load.el";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
xdg.configFile.emacs.source = inputs.doom-emacs;
|
xdg.configFile.emacs.source = inputs.doom-emacs;
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
env = QT_QPA_PLATFORM=wayland;xcb
|
env = QT_QPA_PLATFORM=wayland;xcb
|
||||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
env = MOZ_ENABLE_WAYLAND=1
|
env = MOZ_ENABLE_WAYLAND=1
|
||||||
|
env = DOOMLOCALDIR=${config.home.sessionVariables.DOOMLOCALDIR};
|
||||||
|
env = DOOMPROFILELOADFILE=${config.home.sessionVariables.DOOMPROFILELOADFILE};
|
||||||
|
|
||||||
|
|
||||||
exec-once=configure-gtk
|
exec-once=configure-gtk
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue