forked from foxora/nix
#1 hater of infinite recursion
This commit is contained in:
parent
43b04c3f8a
commit
a5bb1d1cc1
31 changed files with 946 additions and 851 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
pkgs,
|
||||
upkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
|
|
@ -12,20 +12,22 @@ in {
|
|||
};
|
||||
|
||||
config = lib.mkIf enabled {
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
amdgpu-ignore-ctx-privileges = super.fetchpatch {
|
||||
name = "cap_sys_nice_begone.patch";
|
||||
url = "https://github.com/Frogging-Family/community-patches/raw/master/linux61-tkg/cap_sys_nice_begone.mypatch";
|
||||
hash = "sha256-Y3a0+x2xvHsfLax/uwycdJf3xLxvVfkfDVqjkxNaYEo=";
|
||||
};
|
||||
})
|
||||
];
|
||||
nixpkgs.channels.default = {
|
||||
upkgs.overlays = [
|
||||
(self: super: {
|
||||
amdgpu-ignore-ctx-privileges = super.fetchpatch {
|
||||
name = "cap_sys_nice_begone.patch";
|
||||
url = "https://github.com/Frogging-Family/community-patches/raw/master/linux61-tkg/cap_sys_nice_begone.mypatch";
|
||||
hash = "sha256-Y3a0+x2xvHsfLax/uwycdJf3xLxvVfkfDVqjkxNaYEo=";
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
boot.kernelPatches = [
|
||||
{
|
||||
name = "amdgpu-ignore-ctx-privileges";
|
||||
patch = pkgs.amdgpu-ignore-ctx-privileges;
|
||||
patch = upkgs.amdgpu-ignore-ctx-privileges;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue