proper patch form

This commit is contained in:
Tao Tien 2024-04-19 00:07:50 -07:00
parent 197cfdb84c
commit 997400e171
3 changed files with 38 additions and 12 deletions

View file

@ -1,7 +1,6 @@
{
config,
pkgs,
lib,
...
}: {
zramSwap = {
@ -9,8 +8,17 @@
algorithm = "zstd";
};
nixpkgs.overlays = [
(import ../extras/libinput-overlay.nix)
(final: prev: {
libinput = prev.libinput.overrideAttrs (old: {
patches =
(old.patches or [])
++ [
../extras/libinput-delay.patch
];
});
})
];
environment.systemPackages = with pkgs; [
# fw-ectool
framework-tool