aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin J. Doering2024-04-05 08:10:48 -0400
committerCollin J. Doering2024-04-05 08:10:48 -0400
commit00d037818483a847e1a9d7f6161d5a8944d18ffc (patch)
tree5b24a652516a1c8dc4360aad86fc41d73e6cf346
parentfcc9d4815fe5f0f401247421431bde4fc6fbb95b (diff)
downloadguix-north-america-00d037818483a847e1a9d7f6161d5a8944d18ffc.tar.gz
balg02: Mount efi partition; expose balg02 function
* .guix/guix-na/config/balg02.scm: New function: balg02; this is necessary as the efi partition UUID changes between testing and the deployed system. Additionally, mount the efi partition. Its useful to note that when testing, I found a bug in guix that resulting in a partial system upgrade! Namely, grub/kernel stuff appears to have been updated, but the `guix system reconfigure ...` never completed. This was because the efi system partition was not mounted. However the odd part was that even if I manually mounted the efi partition and retried `guix system reconfigure ..` the command update would still hang. I suspect this is because for some reason the efi system partition must be explicitly specified in the operating-system configuration.
-rw-r--r--.guix/guix-na/config/balg02.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/.guix/guix-na/config/balg02.scm b/.guix/guix-na/config/balg02.scm
index d695581..e7a1522 100644
--- a/.guix/guix-na/config/balg02.scm
+++ b/.guix/guix-na/config/balg02.scm
@@ -27,11 +27,11 @@
#:use-module (gnu services networking)
#:use-module (gnu services ssh)
#:use-module (gnu services web)
- #:export (%system))
+ #:export (balg02 %system))
(define %automation-user "auto")
-(define %system
+(define (balg02 efi-boot-uuid)
(operating-system
(host-name "balg02")
(timezone "US/Central")
@@ -60,7 +60,11 @@
(device (file-system-label "root"))
(mount-point "/swap")
(type "btrfs")
- (options "subvol=@swap")))
+ (options "subvol=@swap"))
+ (file-system
+ (device (uuid efi-boot-uuid 'fat))
+ (mount-point "/boot/efi")
+ (type "vfat")))
%base-file-systems))
(swap-devices
@@ -121,3 +125,5 @@
(name-servers '("216.37.64.2" "216.37.64.3")))))
(service ntp-service-type))
%base-services))))
+
+(define %system (balg02 "3AF8-9E67"))