unstable fwupd

This commit is contained in:
Cyryl Płotnicki 2019-11-12 21:30:45 +00:00
parent 5aa8c076d3
commit e786581680
2 changed files with 7 additions and 30 deletions

View file

@ -5,32 +5,6 @@
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest_hardened; kernelPackages = pkgs.linuxPackages_latest_hardened;
extraModulePackages = with config.boot.kernelPackages; [ wireguard ]; extraModulePackages = with config.boot.kernelPackages; [ wireguard ];
kernelPatches = [{
name = "bpf_plus_newer_intel";
patch = null;
extraConfig = ''
MCORE2 y
ENERGY_MODEL y
X86_INTEL_MPX y
INTEL_TXT y
PREEMPT_VOLUNTARY y
BPF y
BPF_EVENTS y
BPF_JIT y
BPF_SYSCALL y
DUMMY m
HAVE_EBPF_JIT y
KALLSYMS_ALL y
NET_ACT_BPF m
NET_ACT_GACT m
NET_ACT_POLICE m
NET_CLS_BPF m
NET_SCH_SFQ m
VXLAN m
'';}
];
initrd.kernelModules = [ "i915" ]; initrd.kernelModules = [ "i915" ];
initrd.availableKernelModules = [ initrd.availableKernelModules = [

View file

@ -1,7 +1,10 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
services = { services = {
fwupd.enable = true; fwupd = {
enable = true;
package = pkgs.unstable.fwupd;
};
tlp = { tlp = {
enable = true; enable = true;