guix-config/arch.scm

49 lines
907 B
Scheme
Raw Normal View History

2024-12-18 04:19:12 +01:00
(use-modules (fox arch-overlay)
(gnu services)
2024-12-04 17:05:31 +01:00
(guix gexp)
2024-12-18 04:19:12 +01:00
;; (guix store)
;; (guix profiles)
;; (guix scripts package)
)
2024-12-04 17:05:31 +01:00
(define %arch-base-packages
(list
;; vps2arch import
"base"
"linux"
"lvm2"
"openssh"
"reflector"
"vi"
"vim"
"nss"
"grub"
"efibootmgr"
;; guix deps
"git"
"wget"
"which"
;; something something...
"sudo"
"hyfetch"
"htop"
"tmux"
"fuse2"
"iftop"
2024-12-04 17:05:31 +01:00
))
2024-12-18 04:19:12 +01:00
(define arch-services
(list
(service arch-files-service-type
(list
`(".arch-packages" ,(plain-file "arch-package" (string-join %arch-base-packages "\n")))))))
2024-12-04 17:05:31 +01:00
2024-12-18 04:19:12 +01:00
(build-arch-drv arch-services)
2024-12-04 17:05:31 +01:00
2024-12-18 04:19:12 +01:00
;; (define %arch-profile
;; (string-append %profile-directory "/arch-profile"))
2024-12-04 17:05:31 +01:00
;; (with-store
;; %store
;; (delete-matching-generations %store %arch-profile #f))