diff options
author | Joachim F <joachifm@users.noreply.github.com> | 2017-02-04 15:15:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-04 15:15:39 +0100 |
commit | 17cc22a619849d2ab763c0772dac266a97a3af1d (patch) | |
tree | a8538a8bce86a53aec347e9f56ab78ac0d5672ae /nixos/modules/tasks/filesystems | |
parent | 7f69dc48b928e5fd204b357652e1f935f910aafb (diff) | |
parent | ff3f3399aefa759707f5f24da3b6641f2147cb0e (diff) | |
download | nixlib-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.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 ]; + + }; +} |