summaryrefslogtreecommitdiffstats
path: root/.config/guix/systems/viking.scm
diff options
context:
space:
mode:
Diffstat (limited to '.config/guix/systems/viking.scm')
-rw-r--r--.config/guix/systems/viking.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/.config/guix/systems/viking.scm b/.config/guix/systems/viking.scm
new file mode 100644
index 0000000..00b279e
--- /dev/null
+++ b/.config/guix/systems/viking.scm
@@ -0,0 +1,27 @@
1(define-module (viking)
2 #:use-module (base-system)
3 #:use-module (gnu))
4
5(operating-system
6 (inherit base-operating-system)
7 (host-name "viking")
8
9 (bootloader
10 (bootloader-configuration
11 (bootloader grub-bootloader)
12 (target "/dev/sda")))
13
14 (mapped-devices
15 (list (mapped-device
16 (source
17 (uuid "75a1ebd7-13c2-442f-80ff-1b5e59522e29"))
18 (target "cryptroot")
19 (type luks-device-mapping))))
20
21 (file-systems
22 (cons* (file-system
23 (mount-point "/")
24 (device "/dev/mapper/cryptroot")
25 (type "ext4")
26 (dependencies mapped-devices))
27 %base-file-systems)))