summaryrefslogtreecommitdiffstats
path: root/guix/jd/desktops/berserker.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/jd/desktops/berserker.scm')
-rwxr-xr-xguix/jd/desktops/berserker.scm36
1 files changed, 4 insertions, 32 deletions
diff --git a/guix/jd/desktops/berserker.scm b/guix/jd/desktops/berserker.scm
index 37e7adc..3d6b0df 100755
--- a/guix/jd/desktops/berserker.scm
+++ b/guix/jd/desktops/berserker.scm
@@ -1,45 +1,17 @@
1(define-module (jd desktops berserker) 1(define-module (jd desktops berserker)
2 #:use-module (jd desktops base) 2 #:use-module (jd desktops base)
3 #:use-module (jd packages linux) 3 #:use-module (jd packages linux)
4 #:use-module (jd utils)
4 #:use-module (gnu) 5 #:use-module (gnu)
5 #:use-module (gnu home)) 6 #:use-module (gnu home))
6 7
7(define home 8(define-public home
8 (home-environment 9 (home-environment
9 (services %jd-base-home-services))) 10 (services %jd-base-home-services)))
10 11
11(define system 12(define-public system
12 (operating-system 13 (operating-system
13 (inherit odin-non-free) 14 (inherit odin-non-free)
14 (kernel-loadable-modules (list xmm7360-pci)) 15 (kernel-loadable-modules (list xmm7360-pci))
15 (host-name "berserker") 16 (host-name "berserker")))
16 17
17
18 (bootloader (bootloader-configuration
19 (bootloader grub-efi-bootloader)
20 (targets (list "/boot/efi"))))
21 (mapped-devices (list (mapped-device
22 (source (uuid
23 "1f2b1bf2-89fe-4e2c-8b40-c460572bb776"))
24 (target "crypthome")
25 (type luks-device-mapping))))
26
27 (file-systems (cons* (file-system
28 (mount-point "/")
29 (device (uuid
30 "66396ba1-bda9-46bd-ab26-5edc46b437d6"
31 'ext4))
32 (type "ext4"))
33 (file-system
34 (mount-point "/boot/efi")
35 (device (uuid "482A-B117"
36 'fat32))
37 (type "vfat"))
38 (file-system
39 (mount-point "/home")
40 (device "/dev/mapper/crypthome")
41 (type "ext4")
42 (dependencies mapped-devices)) %base-file-systems))))
43
44
45(if (getenv "JD_HOME") home system)