summaryrefslogtreecommitdiff
path: root/guix-strap/system.scm
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-10-07 16:59:12 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-10-07 16:59:12 -0400
commit0be7c27439b75a16cd340b4a72855a7cc6cec06a (patch)
tree3ec923632137c223911a21ed169a1247d9051406 /guix-strap/system.scm
parentformat btrfs, no YES on cryptsetup format needed (diff)
downloaddotfiles-guix-0be7c27439b75a16cd340b4a72855a7cc6cec06a.tar.gz
dotfiles-guix-0be7c27439b75a16cd340b4a72855a7cc6cec06a.tar.bz2
dotfiles-guix-0be7c27439b75a16cd340b4a72855a7cc6cec06a.zip
guix strap done (hopefully)
Diffstat (limited to 'guix-strap/system.scm')
-rw-r--r--guix-strap/system.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/guix-strap/system.scm b/guix-strap/system.scm
new file mode 100644
index 0000000..722edef
--- /dev/null
+++ b/guix-strap/system.scm
@@ -0,0 +1,23 @@
+(use-modules (home-config base-system)
+ (gnu))
+
+(operating-system
+ (inherit base-operating-system)
+ (host-name "SED_HOSTNAME")
+
+ (mapped-devices (list (mapped-device
+ (source (uuid
+ "SED_CRYPT_UUID"))
+ (target "cryptroot")
+ (type luks-device-mapping))))
+
+ (file-systems (cons* (file-system
+ (mount-point "/")
+ (device "/dev/mapper/cryptroot")
+ (type "btrfs")
+ (dependencies mapped-devices))
+ (file-system
+ (mount-point "/boot/efi")
+ (device (uuid "SED_EFI_UUID"
+ 'fat32))
+ (type "vfat")) %base-file-systems)))