Add Sodium

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2024-01-26 18:00:56 -05:00
parent dca5d92dae
commit 5604d37d07
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
(add-to-load-path (dirname (current-filename)))
(use-modules (gnu) (cobra os))
(operating-system
(inherit %base-guix-system)
(host-name "Sodium")
(mapped-devices (list
(mapped-device
(source (uuid "d07456c7-51a5-4ed8-b5b6-a409884c7ebd"))
(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))
(swap-devices (list (swap-space
(target "/swapfile")))))