feat: add artwork module

pull/1/head
anemofilia 2023-08-15 20:22:46 -03:00
parent bd00c74075
commit b36b91b901
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
2 changed files with 18 additions and 3 deletions

View File

@ -1,11 +1,11 @@
#|Modules|# #|Modules|#
(use-modules (use-modules
#|GNU |# (gnu) #|GNU |# (gnu)
(gnu artwork)
(gnu services) (gnu services)
#|Guix |# (guix gexp) #|Guix |# (guix gexp)
#|Misc |# (ice-9 match) #|Misc |# (ice-9 match)
#|Radix|# (radix packages linux) #|Radix|# (radix artwork)
(radix packages linux)
(radix packages text-editors) (radix packages text-editors)
(radix services linux) (radix services linux)
(radix system setuid) (radix system setuid)
@ -53,7 +53,7 @@
(targets '("/dev/sda")) (targets '("/dev/sda"))
(theme (grub-theme (theme (grub-theme
(image (file-append %artwork-repository (image (file-append %artwork-repository
"/backgrounds/guix-silver-checkered-16-9.svg")) "/backgrounds/guix-silver-16-9.svg"))
(resolution '(1280 . 720)) (resolution '(1280 . 720))
(gfxmode '("1280x720x32")))))) (gfxmode '("1280x720x32"))))))

15
modules/radix/artwork.scm Normal file
View File

@ -0,0 +1,15 @@
(define-module (radix artwork)
#:use-module (guix packages)
#:use-module (guix git-download)
#:export (%artwork-repository))
(define %artwork-repository
(let ((commit "a91d165819d72be5973fc87573bbef230d416cde"))
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/anemofilia/radix-artwork.git")
(commit commit)))
(file-name
(string-append "radix-artwork-" (string-take commit 7) "-checkout"))
(sha256 (base32 "1fbq056gf28272grxh03dzhhnd8n42d00nj11g3yzb4gshr03cq7")))))