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