summaryrefslogtreecommitdiffstats
path: root/.config/guix/machines/viking.scm
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2022-10-02 13:24:25 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2022-10-02 13:24:25 +0200
commit55edbf585bba878eabd779d3e275c99ce1babd4b (patch)
tree02cc23c76da97177c8e49f08da39c5e4c20b9772 /.config/guix/machines/viking.scm
parentf343690367dc97bde5abdb86767ea63e306d9bb6 (diff)
downloaddotfiles-55edbf585bba878eabd779d3e275c99ce1babd4b.tar.gz
dotfiles-55edbf585bba878eabd779d3e275c99ce1babd4b.zip
Init guix config files
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)))