From 55edbf585bba878eabd779d3e275c99ce1babd4b Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Sun, 2 Oct 2022 13:24:25 +0200 Subject: Init guix config files --- .config/guix/machines/viking.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .config/guix/machines/viking.scm (limited to '.config/guix/machines/viking.scm') 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 @@ +(define-module (viking) + #:use-module (base-system) + #:use-module (gnu)) +(use-modules (base-system)) +(operating-system + (inherit base-operating-system) + (host-name "viking") + + (keyboard-layout (keyboard-layout "pl")) + + (bootloader + (bootloader-configuration + (bootloader grub-bootloader) + (target "/dev/sda"))) + + (mapped-devices + (list (mapped-device + (source + (uuid "75a1ebd7-13c2-442f-80ff-1b5e59522e29")) + (target "cryptroot") + (type luks-device-mapping)))) + + (file-systems + (cons* (file-system + (mount-point "/") + (device "/dev/mapper/cryptroot") + (type "ext4") + (dependencies mapped-devices)) + %base-file-systems))) -- cgit v1.2.3