diff options
author | Tyler Murphy <tylerm@tylerm.dev> | 2023-10-07 16:59:12 -0400 |
---|---|---|
committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-10-07 16:59:12 -0400 |
commit | 0be7c27439b75a16cd340b4a72855a7cc6cec06a (patch) | |
tree | 3ec923632137c223911a21ed169a1247d9051406 /guix-strap/system.scm | |
parent | format btrfs, no YES on cryptsetup format needed (diff) | |
download | dotfiles-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.scm | 23 |
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))) |