guixsd-config

GuixSD configs for my systems
Log | Files | Refs

commit 6bdbd66902b89a250fa0805ed9b2fda8c01114ff
parent ea8ad6306318f5b17e935c73d7597e89a8fc6321
Author: Vineet Kumar <git@vineetk.net>
Date:   Fri,  8 May 2026 09:54:48 -0400

saklas: temporarily fix dedicated server config

Diffstat:
Mepistemia/bootloader.scm | 18++++++++++++++++++
Mepistemia/deploy.scm | 2+-
2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/epistemia/bootloader.scm b/epistemia/bootloader.scm @@ -21,3 +21,21 @@ "set root=(hd0,gpt2)") ((" /store/") " /gnu/@/store/"))))))) + +;; TODO combine into previous with an argument? +(define-public grub-zfs-bios + (bootloader + (inherit grub-bootloader) + (name 'grub-zfs) + (installer + #~(lambda (bootloader targets mount-point) + (use-modules (guix build utils)) + (let ((standard-installer #$(bootloader-installer grub-bootloader))) + (standard-installer bootloader targets mount-point)) + (let ((grub-cfg (string-append mount-point "/boot/grub/grub.cfg"))) + (chmod grub-cfg #o644) + (substitute* grub-cfg + (("search --label --set [^ ]+") + "set root=(hd0,gpt2)") + ((" /store/") + " /gnu/@/store/"))))))) diff --git a/epistemia/deploy.scm b/epistemia/deploy.scm @@ -1,5 +1,5 @@ (list (machine - (operating-system (load "systems/saklas.scm")) + (operating-system (load "systems/saklas_dedi.scm")) (environment managed-host-environment-type) (configuration (machine-ssh-configuration (host-name "saklas.epistemia")