From 68f39457891db10969e43f030f687414385af649 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 5 Dec 2024 10:48:26 -0800 Subject: [PATCH] Adding initial config --- oni/home/config/pop-os.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 oni/home/config/pop-os.scm diff --git a/oni/home/config/pop-os.scm b/oni/home/config/pop-os.scm new file mode 100644 index 0000000..595f248 --- /dev/null +++ b/oni/home/config/pop-os.scm @@ -0,0 +1,36 @@ +(define-module (oni home config pop-os) + #:use-module ((gnu home) + #:select (home-environment)) + #:use-module ((gnu packages) + #:select (specification->package+output)) + #:use-module ((gnu services) + #:select (service)) + #:use-module ((guix gexp) + #:select (local-file + mixed-text-file)) + #:use-module ((oni home config common) + #:select (home-channels-service)) + #:use-module ((oni home services emacs) + #:select (home-emacs-service-type + home-emacs-configuration)) + #:use-module ((oni home services environment) + #:select (home-environment-service))) + +(home-environment + (packages (list (specification->package+output "glibc-locales") + (specification->package+output "font-fantasque-sans"))) + (services (list home-channels-service + home-environment-service + (service home-emacs-service-type + (home-emacs-configuration + (configurations + (list + (local-file "../services/emacs/init.el") + (mixed-text-file + "init.el" + "(with-eval-after-load 'project (require 'oni-project))\n" + "(projectile-mode)\n" + "(setq custom-file \"~/.config/emacs/custom.el\")\n" + "(load custom-file)\n" + "(provide 'init)\n" + ";;; init.el ends here\n"))))))))