31 lines
1.3 KiB
Scheme
31 lines
1.3 KiB
Scheme
(define-module (guix-config system anaconda)
|
|
#:use-module (gnu)
|
|
#:use-module (guix-config system base-system))
|
|
|
|
(operating-system
|
|
(inherit base-system)
|
|
(host-name "anaconda")
|
|
(bootloader (bootloader-configuration
|
|
(bootloader grub-efi-bootloader)
|
|
(targets (list "/boot/efi"))
|
|
(keyboard-layout (keyboard-layout "eu,ru"
|
|
#:options '("grp:alt_shift_toggle")))))
|
|
(mapped-devices (list (mapped-device
|
|
(source (uuid
|
|
"c40078f6-8a49-4353-a047-48e8666c207e"))
|
|
(target "guix-luks")
|
|
(type luks-device-mapping))))
|
|
|
|
;; The list of file systems that get "mounted". The unique
|
|
;; file system identifiers there ("UUIDs") can be obtained
|
|
;; by running 'blkid' in a terminal.
|
|
(file-systems (cons* (file-system
|
|
(mount-point "/")
|
|
(device "/dev/mapper/guix-luks")
|
|
(type "btrfs")
|
|
(dependencies mapped-devices))
|
|
(file-system
|
|
(mount-point "/boot/efi")
|
|
(device (uuid "8183-EB03"
|
|
'fat32))
|
|
(type "vfat")) %base-file-systems)))
|