Hello Guix!
Recently I've read about customizing the kernel on this page
https://guix.gnu.org/cookbook/en/html_node/Customizing-the-Kernel.html
After reading I decided to try one of described there ways of
providing my own kernel configuration.
Long story short, in my configuration I disabled everything related to
rtw89 driver
```
...
CONFIG_RTW89=n
CONFIG_RTW89_CORE=n
CONFIG_RTW89_PCI=n
CONFIG_RTW89_8851B=n
CONFIG_RTW89_8852A=n
CONFIG_RTW89_8852B=n
CONFIG_RTW89_8852C=n
CONFIG_RTW89_8851BE=n
CONFIG_RTW89_8852AE=n
CONFIG_RTW89_8852BE=n
CONFIG_RTW89_8852CE=n
...
```
And I used this code snippet to define my custom kernel package
```
(define-public my-linux-package
(package
(inherit linux-libre)
(native-inputs
`(("kconfig" ,(local-file "config"))
,@(alist-delete "kconfig"
(package-native-inputs linux-libre))))))
```
After building my package I checked the config file which is stored in
the derivation. Unfortunately, that file had these options
```
CONFIG_RTW89=m
CONFIG_RTW89_CORE=m
CONFIG_RTW89_PCI=m
CONFIG_RTW89_8851B=m
CONFIG_RTW89_8852A=m
CONFIG_RTW89_8852B_COMMON=m
CONFIG_RTW89_8852B=m
CONFIG_RTW89_8852BT=m
CONFIG_RTW89_8852C=m
```
I assume that guix used default kernel configuration instead. So my
question is - is there any way to provide my own .config file to build
a kernel package?