From b36b91b901152c8a52f8fe92b27c199e81db386f Mon Sep 17 00:00:00 2001 From: anemofilia Date: Tue, 15 Aug 2023 20:22:46 -0300 Subject: [PATCH] feat: add artwork module --- buer.scm | 6 +++--- modules/radix/artwork.scm | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 modules/radix/artwork.scm diff --git a/buer.scm b/buer.scm index 67a0b8d..2701c1a 100644 --- a/buer.scm +++ b/buer.scm @@ -1,11 +1,11 @@ #|Modules|# (use-modules #|GNU |# (gnu) - (gnu artwork) (gnu services) #|Guix |# (guix gexp) #|Misc |# (ice-9 match) - #|Radix|# (radix packages linux) + #|Radix|# (radix artwork) + (radix packages linux) (radix packages text-editors) (radix services linux) (radix system setuid) @@ -53,7 +53,7 @@ (targets '("/dev/sda")) (theme (grub-theme (image (file-append %artwork-repository - "/backgrounds/guix-silver-checkered-16-9.svg")) + "/backgrounds/guix-silver-16-9.svg")) (resolution '(1280 . 720)) (gfxmode '("1280x720x32")))))) diff --git a/modules/radix/artwork.scm b/modules/radix/artwork.scm new file mode 100644 index 0000000..84523f8 --- /dev/null +++ b/modules/radix/artwork.scm @@ -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")))))