mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
rosenthal: linux-cachyos: Build ZFS modules into the kernels.
* modules/rosenthal/packages/linux.scm (linux-cachyos-lts-server) (linux-cachyos-bore-zen4): Use linux-with-zfs.
This commit is contained in:
1 file changed
+71
-69
@@ -295,74 +295,76 @@
|
|||||||
(file-append source path)))
|
(file-append source path)))
|
||||||
|
|
||||||
(define-public linux-cachyos-lts-server
|
(define-public linux-cachyos-lts-server
|
||||||
(let* ((version "6.18.52-1")
|
(let ((version "6.18.52-1"))
|
||||||
(kernel
|
(linux-with-zfs
|
||||||
(customize-linux
|
(customize-linux
|
||||||
#:name "linux-cachyos-lts-server"
|
#:name "linux-cachyos-lts-server"
|
||||||
#:source
|
#:linux
|
||||||
(origin
|
(hidden-package
|
||||||
(method url-fetch)
|
(package
|
||||||
(uri (string-append
|
(inherit linux-libre)
|
||||||
"https://github.com/CachyOS/linux/releases/download/cachyos-"
|
(version version)
|
||||||
version "/cachyos-" version ".tar.gz"))
|
(supported-systems '("x86_64-linux"))))
|
||||||
(sha256
|
#:source
|
||||||
(base32 "0m3rp34gfddjki662jv0mirig5rfa1chy5vfrvyzcsvvs26qpyrn")))
|
(origin
|
||||||
#:defconfig (%kernel-config "/defconfig_server")
|
(method url-fetch)
|
||||||
#:configs
|
(uri (string-append
|
||||||
(string-join
|
"https://github.com/CachyOS/linux/releases/download/cachyos-"
|
||||||
(append (cachyos-configs
|
version "/cachyos-" version ".tar.gz"))
|
||||||
#:major-version (version-major version)
|
(sha256
|
||||||
#:cachy-config? #f
|
(base32 "0m3rp34gfddjki662jv0mirig5rfa1chy5vfrvyzcsvvs26qpyrn")))
|
||||||
#:cpusched 'eevdf
|
#:defconfig (%kernel-config "/defconfig_server")
|
||||||
#:cc-harder? #t
|
#:configs
|
||||||
#:per-gov? #f
|
(string-join
|
||||||
#:tcp-bbr3? #t
|
(append (cachyos-configs
|
||||||
#:HZ-ticks 300
|
#:major-version (version-major version)
|
||||||
#:tickrate 'full
|
#:cachy-config? #f
|
||||||
#:preempt 'none
|
#:cpusched 'eevdf
|
||||||
#:hugepage 'always
|
#:cc-harder? #t
|
||||||
#:processor-opt 'generic)
|
#:per-gov? #f
|
||||||
(default-initrd-configs))
|
#:tcp-bbr3? #t
|
||||||
"\n"))))
|
#:HZ-ticks 300
|
||||||
(hidden-package
|
#:tickrate 'full
|
||||||
(package
|
#:preempt 'none
|
||||||
(inherit kernel)
|
#:hugepage 'always
|
||||||
(version version)
|
#:processor-opt 'generic)
|
||||||
(supported-systems '("x86_64-linux"))))))
|
(default-initrd-configs))
|
||||||
|
"\n")))))
|
||||||
|
|
||||||
(define-public linux-cachyos-bore-zen4
|
(define-public linux-cachyos-bore-zen4
|
||||||
(let* ((version "7.2.8-1")
|
(let ((version "7.2.8-1"))
|
||||||
(kernel
|
(linux-with-zfs
|
||||||
(customize-linux
|
(customize-linux
|
||||||
#:name "linux-cachyos-bore-zen4"
|
#:name "linux-cachyos-bore-zen4"
|
||||||
#:source
|
#:linux
|
||||||
(origin
|
(hidden-package
|
||||||
(method url-fetch)
|
(package
|
||||||
(uri (string-append
|
(inherit linux-libre)
|
||||||
"https://github.com/CachyOS/linux/releases/download/cachyos-"
|
(version version)
|
||||||
version "/cachyos-" version ".tar.gz"))
|
(supported-systems '("x86_64-linux"))))
|
||||||
(sha256
|
#:source
|
||||||
(base32 "0a7kxhivrp13j50scqqvb7bnsg0dcqing30q314imhsapm1dyj7q"))
|
(origin
|
||||||
(patches (map %kernel-config '("/patches/bore-cachy-7.2.patch"))))
|
(method url-fetch)
|
||||||
#:defconfig (%kernel-config "/defconfig_desktop")
|
(uri (string-append
|
||||||
#:configs
|
"https://github.com/CachyOS/linux/releases/download/cachyos-"
|
||||||
(string-join
|
version "/cachyos-" version ".tar.gz"))
|
||||||
(append (cachyos-configs
|
(sha256
|
||||||
#:major-version (version-major version)
|
(base32 "0a7kxhivrp13j50scqqvb7bnsg0dcqing30q314imhsapm1dyj7q"))
|
||||||
#:cachy-config? #t
|
(patches (map %kernel-config '("/patches/bore-cachy-7.2.patch"))))
|
||||||
#:cpusched 'bore
|
#:defconfig (%kernel-config "/defconfig_desktop")
|
||||||
#:cc-harder? #t
|
#:configs
|
||||||
#:per-gov? #f
|
(string-join
|
||||||
#:tcp-bbr3? #t
|
(append (cachyos-configs
|
||||||
#:HZ-ticks 1000
|
#:major-version (version-major version)
|
||||||
#:tickrate 'full
|
#:cachy-config? #t
|
||||||
#:preempt 'full
|
#:cpusched 'bore
|
||||||
#:hugepage 'always
|
#:cc-harder? #t
|
||||||
#:processor-opt 'zen4)
|
#:per-gov? #f
|
||||||
(default-initrd-configs))
|
#:tcp-bbr3? #t
|
||||||
"\n"))))
|
#:HZ-ticks 1000
|
||||||
(hidden-package
|
#:tickrate 'full
|
||||||
(package
|
#:preempt 'full
|
||||||
(inherit kernel)
|
#:hugepage 'always
|
||||||
(version version)
|
#:processor-opt 'zen4)
|
||||||
(supported-systems '("x86_64-linux"))))))
|
(default-initrd-configs))
|
||||||
|
"\n")))))
|
||||||
Reference in new issue
Block a user