Skip to content

Instantly share code, notes, and snippets.

@m1cr0man
Created September 29, 2019 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m1cr0man/846be2e488740eb965a48cdaf1f7bba3 to your computer and use it in GitHub Desktop.
Save m1cr0man/846be2e488740eb965a48cdaf1f7bba3 to your computer and use it in GitHub Desktop.
Glusterfs override
{ pkgs, ... }:
{
services.glusterfs = {
enable = true;
};
services.nfs.server.enable = true;
nixpkgs.overlays = [
(self: super: {
glusterfs = pkgs.glusterfs.overrideAttrs (oldAttrs: {
separateDebugInfo = true;
name = "glusterfs-7.0";
version = "7.0rc2";
src = pkgs.fetchFromGitHub {
owner = "gluster";
repo = "glusterfs";
rev = "227713229a7bba19426186f1615fd891e4e52bb7";
sha256 = "1rq4n0x4wr548m03ny9jqprprn8xsgpp151z83dj0jj0c28h42ww";
};
});
})
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment