summary refs log blame commit diff
path: root/pkgs/os-specific/linux/kernel/linux-xanmod.nix
blob: 4224255235a44f5c27e4d870cda161f2ddec5a80 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                         
                      

                            
                         
                  
                                         
 



                         
                                                                   
    
 


                                            
                     

    



                                                                                                                                    
                              

                                
{ lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args:

let
  version = "5.12.13";
  suffix = "xanmod1-cacule";
in
buildLinux (args // rec {
  inherit version;
  modDirVersion = "${version}-${suffix}";

  src = fetchFromGitHub {
    owner = "xanmod";
    repo = "linux";
    rev = modDirVersion;
    sha256 = "sha256-eFIWlguU1hnkAgTbRxSMTStq0X7XW4IT1/9XlQSgdMQ=";
  };

  structuredExtraConfig = with lib.kernel; {
    PREEMPT = lib.mkForce yes;
    PREEMPT_VOLUNTARY = lib.mkForce no;
    NO_HZ_FULL = yes;
  };

  extraMeta = {
    branch = "5.12-cacule";
    maintainers = with lib.maintainers; [ fortuneteller2k ];
    description = "Built with custom settings and new features built to provide a stable, responsive and smooth desktop experience";
    broken = stdenv.isAarch64;
  };
} // (args.argsOverride or { }))