From 706d1cec9d4bb6f024845f923db5453c7cc3a3d5 Mon Sep 17 00:00:00 2001 From: Charles Roelli Date: Thu, 22 Jan 2026 10:01:09 +0100 Subject: Use Guix emacs-ledger-mode --- .emacs | 6 +----- home-configuration.scm | 7 ++++++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.emacs b/.emacs index 05b9548..0b3ecfb 100644 --- a/.emacs +++ b/.emacs @@ -1,14 +1,10 @@ -(require 'package) -(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) -(package-initialize) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(backup-directory-alist '(("." . "~/Backups"))) - '(custom-file "~/Code/home/.emacs") - '(package-selected-packages '(ledger-mode))) + '(custom-file "~/Code/home/.emacs")) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/home-configuration.scm b/home-configuration.scm index 26ce617..23f0bfa 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -16,7 +16,12 @@ (home-environment ;; Below is the list of packages that will show up in your ;; Home profile, under ~/.guix-home/profile. - (packages (specifications->packages (list "dino" "emacs" "glibc-locales"))) + (packages + (specifications->packages + (list "dino" + "emacs" + "emacs-ledger-mode" + "glibc-locales"))) ;; Below is the list of Home services. To search for available ;; services, run 'guix home search KEYWORD' in a terminal. -- cgit v1.3