8000 GitHub - codgician/mlnx-ofed-nixos: 📦 A small subset of Mellanox OFED packages ported to NixOS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

codgician/mlnx-ofed-nixos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mlnx-ofed-nixos

build

A small subset of Mellanox OFED packages ported to NixOS.

Warning

This project is experimental and may stay experimental for a long time. Not all packages are fully tested, because I don't have the hardware to validate some of the scenarios like InfiniBand. Any help or suggestions are welcomed.

Binary cache

  • Address: https://mlnx-ofed-nixos.cachix.org
  • Public key: mlnx-ofed-nixos.cachix.org-1:jL/cqleOzhPw87etuHMeIIdAgFDKX8WnTBYMSBx3toI=

Quick start

With flakes

This flake provides:

  • overlays.default for adding packages into your pkgs.
  • nixosModules.default for easy configuration.
  • nixosModules.setupCacheAndOverlays for configure cache and overlays automatically.

A simple example flake would be:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    mlnx-ofed-nixos = {
      url = "github:codgician/mlnx-ofed-nixos";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = { self, nixpkgs, ... }@inputs: {
    nixosConfigurations.default = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        # Add packages from this repo and set up binary cache
        inputs.mlnx-ofed-nixos.nixosModules.setupCacheAndOverlays
        # Add configuration options from this repo
        inputs.mlnx-ofed-nixos.nixosModules.default
        # Example configuration
        ({ config, ... }: {
          hardware.mlnx-ofed = {
            enable = true;
            fwctl.enable = true;    
            nvme.enable = true;
            nfsrdma.enable = true;
            kernel-mft.enable = true;
          };
        })
      ];
    };
  };
}

About

📦 A small subset of Mellanox OFED packages ported to NixOS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0