From e3ef5afadf0b2f78a7f4dd00a24a922b2330ca6c Mon Sep 17 00:00:00 2001 From: "Skylar \"The Cobra\" Widulski" Date: Mon, 5 Jun 2023 01:24:17 -0400 Subject: [PATCH] Fixer neon Signed-off-by: Skylar "The Cobra" Widulski --- etc/guix-config/neon.scm | 26 ++++++++++++++++++++++++-- tmp | 1 + 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 tmp diff --git a/etc/guix-config/neon.scm b/etc/guix-config/neon.scm index afd24d9..d09dbe9 100644 --- a/etc/guix-config/neon.scm +++ b/etc/guix-config/neon.scm @@ -1,3 +1,25 @@ (add-to-load-path "/etc/guix-config") -(use-modules (cobra os)) -%thinkpad:t60 +(use-modules (gnu) (cobra os)) + +(operating-system + (inherit %thinkpad) + (host-name "Neon") + (mapped-devices (list + (mapped-device + (source (uuid "72cd3842-a6e5-4fb5-b994-1ce11d2d0a16")) + (target "fde") + (type luks-device-mapping)) + (mapped-device + (source "matrix") + (targets (list "matrix-rootvol")) + (type lvm-device-mapping)))) + (file-systems (append (list + (file-system + (type "btrfs") + (mount-point "/") + (device (file-system-label "root")) + (flags '(no-atime)) + (options "space_cache=v2") + (needed-for-boot? #t) + (dependencies mapped-devices))) + %base-file-systems))) diff --git a/tmp b/tmp new file mode 100644 index 0000000..95cb486 --- /dev/null +++ b/tmp @@ -0,0 +1 @@ +72cd3842-a6e5-4fb5-b994-1ce11d2d0a16