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 = {
kernelPackages = pkgs.linuxPackages_latest_hardened;
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.availableKernelModules = [

View file

@ -1,12 +1,15 @@
{ config, pkgs, ... }:
{
services = {
fwupd.enable = true;
fwupd = {
enable = true;
package = pkgs.unstable.fwupd;
};
tlp = {
enable = true;
extraConfig = ''
DISK_IOSCHED="mq-deadline"
DISK_IOSCHED="mq-deadline"
'';
};
@ -47,8 +50,8 @@
useGlamor = true;
deviceSection = ''
Option "TearFree" "true"
Option "AccelMethod" "sna"
Option "TearFree" "true"
Option "AccelMethod" "sna"
'';
displayManager.sddm = {