diff options
author | Pascal Bach <pascal.bach@nextrem.ch> | 2017-01-26 23:38:06 +0100 |
---|---|---|
committer | Pascal Bach <pascal.bach@nextrem.ch> | 2017-02-02 23:16:52 +0100 |
commit | ff3f3399aefa759707f5f24da3b6641f2147cb0e (patch) | |
tree | 09563862939d02d3da5bb68fba5a246d66b958df /nixos/modules/tasks/filesystems | |
parent | 19759cfeab0b749666dafdf52a0aad79123a2126 (diff) |
filesystems: add support to mount glusterfs
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r-- | nixos/modules/tasks/filesystems/glusterfs.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/glusterfs.nix b/nixos/modules/tasks/filesystems/glusterfs.nix new file mode 100644 index 000000000000..e8c7fa8efbae --- /dev/null +++ b/nixos/modules/tasks/filesystems/glusterfs.nix @@ -0,0 +1,11 @@ +{ config, lib, pkgs, ... }: + +with lib; + +{ + config = mkIf (any (fs: fs == "glusterfs") config.boot.supportedFilesystems) { + + system.fsPackages = [ pkgs.glusterfs ]; + + }; +} |