users/infinidoge: unset EDITOR variable
This commit is contained in:
parent
709eb62c36
commit
d72d176fcd
1 changed files with 9 additions and 9 deletions
|
@ -70,15 +70,15 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
environment.variables.EDITOR =
|
||||
let
|
||||
pkg = config.home-manager.users.infinidoge.programs.emacs.package;
|
||||
editorScript = pkgs.writeScriptBin "emacseditor" ''
|
||||
#!${pkgs.runtimeShell}
|
||||
exec ${pkg}/bin/emacsclient --create-frame "$@"
|
||||
'';
|
||||
in
|
||||
(lib.mkForce "${editorScript}/bin/emacseditor");
|
||||
#environment.variables.EDITOR =
|
||||
# let
|
||||
# pkg = config.home-manager.users.infinidoge.programs.emacs.package;
|
||||
# editorScript = pkgs.writeScriptBin "emacseditor" ''
|
||||
# #!${pkgs.runtimeShell}
|
||||
# exec ${pkg}/bin/emacsclient --create-frame "$@"
|
||||
# '';
|
||||
# in
|
||||
# (lib.mkForce "${editorScript}/bin/emacseditor");
|
||||
|
||||
modules = {
|
||||
locale.fonts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue