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