summaryrefslogtreecommitdiff
path: root/.config/guix
diff options
context:
space:
mode:
authorbd <bdunahu@colostate.edu>2024-05-17 19:54:55 -0600
committerbd <bdunahu@colostate.edu>2024-05-17 19:54:55 -0600
commit512a983638c948ba92d6675cef9916afb9ef97f1 (patch)
tree89042e37bd8e19c19385b0d6d0dd3e856abd41c3 /.config/guix
parent5c18e1013c558b71a5628c9902a88e2109feb192 (diff)
Rainbow delimiters, paredit
Diffstat (limited to '.config/guix')
-rw-r--r--.config/guix/emacs-manifest.scm1
-rw-r--r--.config/guix/kvasir.scm69
2 files changed, 33 insertions, 37 deletions
diff --git a/.config/guix/emacs-manifest.scm b/.config/guix/emacs-manifest.scm
index 334cb90..73f46cf 100644
--- a/.config/guix/emacs-manifest.scm
+++ b/.config/guix/emacs-manifest.scm
@@ -18,6 +18,7 @@
"emacs-notmuch"
"emacs-orderless"
"emacs-org-roam"
+ "emacs-paredit"
"emacs-popper"
"emacs-rainbow-delimiters"
"emacs-rainbow-mode"
diff --git a/.config/guix/kvasir.scm b/.config/guix/kvasir.scm
index 1667f46..3260a28 100644
--- a/.config/guix/kvasir.scm
+++ b/.config/guix/kvasir.scm
@@ -3,7 +3,7 @@
;; OS declaration for 'kvasir', a bootable usb. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(define-module (vali)
+(define-module (kvasir)
#:use-module (ymir)
#:use-module (gnu)
#:use-module (gnu home)
@@ -23,39 +23,34 @@
(define system
(operating-system
- (inherit ymir)
- (host-name "kvasir")
-
- (file-systems (cons* (file-system
- (mount-point "/boot/efi")
- (device (uuid
- "8A13-7018"
- 'fat32))
- (type "vfat"))
- (file-system
- (mount-point "/")
- (device (uuid
- "69a3593b-12bd-40ad-a932-007674a8cfe8"))
- (type "ext4")) %base-file-systems))))
-
-(define MiB (expt 2 20))
-(define GiB (expt 2 30))
-
-(image
- (format 'disk-image)
- (operating-system system)
- (partitions
- (list
- (partition
- (size (* 40 MiB))
- (offset (* 1024 1024))
- (label "GNU-ESP")
- (file-system "vfat")
- (flags '(esp))
- (initializer (gexp initialize-efi-partition)))
- (partition
- (size (* 28 GiB))
- (label root-label)
- (file-system "ext4")
- (flags '(boot))
- (initializer (gexp initialize-root-partition))))))
+ (inherit ymir)
+ (host-name "kvasir")
+
+ (file-systems (cons* (file-system
+ (mount-point "/boot/efi")
+ (device (uuid
+ "8A13-7018"
+ 'fat32))
+ (type "vfat"))
+ (file-system
+ (mount-point "/")
+ (device (uuid
+ "69a3593b-12bd-40ad-a932-007674a8cfe8"))
+ (type "ext4")) %base-file-systems))))
+
+(define home
+ (home-environment
+ (packages
+ `(,@desktop-packages
+ ,@program-packages))
+
+ (services
+ `(,@xdg-service
+ ,@shell-service
+ ,@ssh-service
+ ,@gpg-service
+ ,@base-services
+ ,@xmodmap-service))))
+
+
+(if (getenv "RUNNING_GUIX_HOME") home system)