-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrocinante.scm
73 lines (67 loc) · 1.97 KB
/
rocinante.scm
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
(define-module (system-config machine rocinante)
#:use-module (system-config system base-system)
#:use-module (endgame utils)
#:use-module (gnu))
(define os
(operating-system
(inherit base-operating-system)
(host-name "rocinante")
(mapped-devices
(list
(mapped-device
(source (uuid "cffbf341-dfd6-4a19-b990-5e9e762f6bde"))
(target "cryptsystem")
(type luks-device-mapping))))
(swap-devices (list "/swap/swapfile"))
(file-systems
(append
(list
(file-system
(device "/dev/mapper/cryptsystem")
(mount-point "/")
(type "btrfs")
(options "subvol=root")
(dependencies mapped-devices))
(file-system
(device "/dev/mapper/cryptsystem")
(mount-point "/boot")
(type "btrfs")
(options "subvol=boot")
(dependencies mapped-devices))
(file-system
(device "/dev/mapper/cryptsystem")
(mount-point "/home")
(type "btrfs")
(options "subvol=home")
(dependencies mapped-devices))
(file-system
(device "/dev/mapper/cryptsystem")
(mount-point "/gnu")
(type "btrfs")
(options "subvol=gnu")
(dependencies mapped-devices))
(file-system
(device "/dev/mapper/cryptsystem")
(mount-point "/var/log")
(type "btrfs")
(options "subvol=log")
(dependencies mapped-devices))
(file-system
(device "/dev/mapper/cryptsystem")
(mount-point "/persist")
(type "btrfs")
(options "subvol=persist")
(dependencies mapped-devices))
(file-system
(device "/dev/mapper/cryptsystem")
(mount-point "/swap")
(type "btrfs")
(options "subvol=swap")
(dependencies mapped-devices))
(file-system
(device (uuid "22EC-E382" 'fat))
(mount-point "/boot/efi")
(type "vfat")))
%base-file-systems))))
(print-licenses os)
os