File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- { lib , pkgs , ... } : {
1
+ { lib , config , ... } :
2
+ {
2
3
imports = [
3
4
../../../common/pc/laptop
4
5
../../../common/pc/laptop/ssd
10
11
11
12
# Fix TRRS headphones missing a mic
12
13
# https://community.frame.work/t/headset-microphone-on-linux/12387/3
13
- boot . extraModprobeConfig = lib . mkIf ( lib . versionOlder pkgs . linux . version "6.6.8" ) ''
14
+ boot . extraModprobeConfig = lib . mkIf ( lib . versionOlder config . boot . kernelPackages . kernel . version "6.6.8" ) ''
14
15
options snd-hda-intel model=dell-headset-multi
15
16
'' ;
16
17
Original file line number Diff line number Diff line change 1
- { lib , pkgs , ... } : {
1
+ { lib , config , ... } :
2
+ {
2
3
imports = [
3
4
../../../common/pc/laptop
4
5
../../../common/pc/laptop/ssd
9
10
10
11
# Fix TRRS headphones missing a mic
11
12
# https://community.frame.work/t/headset-microphone-on-linux/12387/3
12
- boot . extraModprobeConfig = lib . mkIf ( lib . versionOlder pkgs . linux . version "6.6.8" ) ''
13
+ boot . extraModprobeConfig = lib . mkIf ( lib . versionOlder config . boot . kernelPackages . kernel . version "6.6.8" ) ''
13
14
options snd-hda-intel model=dell-headset-multi
14
15
'' ;
15
16
You can’t perform that action at this time.
0 commit comments