Add toughbook

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2024-02-21 10:32:15 -05:00
parent 917b8bc75c
commit a391da1639
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
2 changed files with 31 additions and 1 deletions

View File

@ -50,7 +50,7 @@
(file-name (git-file-name name version))
(sha256
(base32
"01g7xlswmhysg3chjp7snylf4cv6pifpkpb7ic4g93wjffiv6c1y"))))
"0hdd08dh3697c4sd9nc6m5dk8q27axl7ap3k0m2xbi2973krdz6x"))))
(inputs (list libmpdclient
boost
readline

View File

@ -0,0 +1,30 @@
(add-to-load-path (dirname (current-filename)))
(use-modules (gnu) (cobra os))
(operating-system
(inherit %base-guix-system)
(host-name "Osmium")
(keyboard-layout (keyboard-layout "us" "altgr-intl"))
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)
(targets (list "/dev/sda"))
(keyboard-layout keyboard-layout)))
(mapped-devices (list
(mapped-device
(source "cf30")
(targets (list "cf30-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 (uuid "790eff60-7202-4922-b69f-d433bc4cd3ef"))))))