blob: 37e7adc976e435f83b3b303bfd27ecbe3688ce9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
(define-module (jd desktops berserker)
#:use-module (jd desktops base)
#:use-module (jd packages linux)
#:use-module (gnu)
#:use-module (gnu home))
(define home
(home-environment
(services %jd-base-home-services)))
(define system
(operating-system
(inherit odin-non-free)
(kernel-loadable-modules (list xmm7360-pci))
(host-name "berserker")
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))))
(mapped-devices (list (mapped-device
(source (uuid
"1f2b1bf2-89fe-4e2c-8b40-c460572bb776"))
(target "crypthome")
(type luks-device-mapping))))
(file-systems (cons* (file-system
(mount-point "/")
(device (uuid
"66396ba1-bda9-46bd-ab26-5edc46b437d6"
'ext4))
(type "ext4"))
(file-system
(mount-point "/boot/efi")
(device (uuid "482A-B117"
'fat32))
(type "vfat"))
(file-system
(mount-point "/home")
(device "/dev/mapper/crypthome")
(type "ext4")
(dependencies mapped-devices)) %base-file-systems))))
(if (getenv "JD_HOME") home system)
|