summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems
diff options
context:
space:
mode:
authorJoachim F <joachifm@users.noreply.github.com>2017-02-04 15:15:39 +0100
committerGitHub <noreply@github.com>2017-02-04 15:15:39 +0100
commit17cc22a619849d2ab763c0772dac266a97a3af1d (patch)
treea8538a8bce86a53aec347e9f56ab78ac0d5672ae /nixos/modules/tasks/filesystems
parent7f69dc48b928e5fd204b357652e1f935f910aafb (diff)
parentff3f3399aefa759707f5f24da3b6641f2147cb0e (diff)
downloadnixlib-17cc22a619849d2ab763c0772dac266a97a3af1d.tar
nixlib-17cc22a619849d2ab763c0772dac266a97a3af1d.tar.gz
nixlib-17cc22a619849d2ab763c0772dac266a97a3af1d.tar.bz2
nixlib-17cc22a619849d2ab763c0772dac266a97a3af1d.tar.lz
nixlib-17cc22a619849d2ab763c0772dac266a97a3af1d.tar.xz
nixlib-17cc22a619849d2ab763c0772dac266a97a3af1d.tar.zst
nixlib-17cc22a619849d2ab763c0772dac266a97a3af1d.zip
Merge pull request #22225 from bachp/glusterfs-service
glusterfs: add service
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r--nixos/modules/tasks/filesystems/glusterfs.nix11
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 ];
+
+  };
+}