Guix and emacs config cleanup

This commit is contained in:
James Grogan 2025-04-29 18:03:13 +01:00
parent 189ede1949
commit 8dc066a796
6 changed files with 21 additions and 14 deletions

View file

@ -1,6 +1,5 @@
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS, and a swap file.
;; for a "desktop" setup with Sway and Wayland.
(use-modules (gnu) (gnu packages)
(gnu system nss)
@ -50,7 +49,7 @@
;; Specify a swap file for the system, which resides on the
;; root file system.
(swap-devices '("/dev/nvme0n1p2"))
;; (swap-devices '("/dev/nvme0n1p2"))
;; Create user `bob' with `alice' as its initial password.
(users (append

View file

@ -6,14 +6,20 @@
#:use-module (gnu home services)
#:use-module (gnu home services shells)
#:use-module (gnu services)
#:use-module (gnu system shadow))
#:use-module (gnu system shadow)
#:use-module (gnu packages))
(define home-config
(home-environment
(packages (specifications->packages
(list "git"
"emacs-no-x-toolkit"
"foot")))
(services
(list
;; Uncomment the shell you wish to use for your user:
;(service home-bash-service-type)
(service home-bash-service-type)
;(service home-fish-service-type)
;(service home-zsh-service-type)
@ -25,4 +31,4 @@
`(("gdb/gdbinit" ,%default-gdbinit)
("nano/nanorc" ,%default-nanorc)))))))
home-config
home-config