From 1cce792f5d814a7896962725686656e4b9e76fe0 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 16 Dec 2024 09:54:55 -0800 Subject: [PATCH] Move file ending for .emacs to Emacs configuration --- oni/home/config/pop-os.scm | 4 +--- oni/home/services/emacs.scm | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/oni/home/config/pop-os.scm b/oni/home/config/pop-os.scm index a9b2e7e..9237bd8 100644 --- a/oni/home/config/pop-os.scm +++ b/oni/home/config/pop-os.scm @@ -92,9 +92,7 @@ "(with-eval-after-load 'project (require 'oni-project))\n" "(require 'oni-gui)\n" "(provide 'oni-gnus)\n" - "(add-to-list 'auto-mode-alist '(\"\\.vue$\" . web-mode))\n" - "(provide 'init)\n" - ";;; init.el ends here\n"))))) + "(add-to-list 'auto-mode-alist '(\"\\.vue$\" . web-mode))\n"))))) (service home-wakatime-service-type (home-wakatime-configuration (api-url "https://waka.ryuslash.org/api") diff --git a/oni/home/services/emacs.scm b/oni/home/services/emacs.scm index dd2270b..43cf2f3 100644 --- a/oni/home/services/emacs.scm +++ b/oni/home/services/emacs.scm @@ -146,7 +146,9 @@ (serialize-text-config config (home-emacs-configuration-configurations config)) (format #f "(setq custom-file (expand-file-name ~s user-emacs-directory))~%" (home-emacs-configuration-custom-file config)) - "(load custom-file :noerror)\n")))) + "(load custom-file :noerror)\n" + "(provide 'init)\n" + ";;; init.el ends here\n")))) (define home-emacs-service-type (service-type