Adding initial config

This commit is contained in:
Tom Willemse 2024-12-05 10:48:26 -08:00
parent a248699894
commit 68f3945789

View file

@ -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"))))))))