Adding import ./emacs.nix
This commit is contained in:
+2
-5
@@ -1770,7 +1770,7 @@ This sets up the zsh terminal
|
|||||||
** =generated/system/applications/terminal_shell/emacs.nix=
|
** =generated/system/applications/terminal_shell/emacs.nix=
|
||||||
This sets up the emacs terminal
|
This sets up the emacs terminal
|
||||||
#+BEGIN_SRC nix :tangle generated/system/applications/terminal_shell/emacs.nix :noweb tangle :mkdirp yes :eval never-html
|
#+BEGIN_SRC nix :tangle generated/system/applications/terminal_shell/emacs.nix :noweb tangle :mkdirp yes :eval never-html
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
@@ -1839,7 +1839,7 @@ This sets up the emacs terminal
|
|||||||
# Home Manager session variables
|
# Home Manager session variables
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "emacs";
|
EDITOR = "emacs";
|
||||||
XDG_SCREENSHOTS_DIR = "${lib.getHome}/screenshots";
|
XDG_SCREENSHOTS_DIR = "~/screenshots";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Home Manager file management
|
# Home Manager file management
|
||||||
@@ -1853,9 +1853,6 @@ This sets up the emacs terminal
|
|||||||
target = ".emacs.d/init.el";
|
target = ".emacs.d/init.el";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Services (if needed in Home Manager context)
|
|
||||||
services.nextcloud-client.enable = true;
|
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, lib, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
# Home Manager session variables
|
# Home Manager session variables
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "emacs";
|
EDITOR = "emacs";
|
||||||
XDG_SCREENSHOTS_DIR = "${lib.getHome}/screenshots";
|
XDG_SCREENSHOTS_DIR = "~/screenshots";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Home Manager file management
|
# Home Manager file management
|
||||||
@@ -81,7 +81,4 @@
|
|||||||
target = ".emacs.d/init.el";
|
target = ".emacs.d/init.el";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Services (if needed in Home Manager context)
|
|
||||||
services.nextcloud-client.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user