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"
|
2024-12-05 09:28:15 +01:00
|
|
|
"htop"
|
2024-12-05 09:26:48 +01:00
|
|
|
"tmux"
|
2024-12-13 07:06:05 +01:00
|
|
|
"fuse2"
|
2024-12-05 09:26:48 +01:00
|
|
|
"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))
|