From 76145d112de5e92d9fc962c34f0f482ead75d2c9 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sun, 26 Jan 2020 12:26:32 +0100 Subject: [PATCH] Server7: mount cephfs at /srv/ceph --- hosts/server7/configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/server7/configuration.nix b/hosts/server7/configuration.nix index e20d9bae..2933060a 100644 --- a/hosts/server7/configuration.nix +++ b/hosts/server7/configuration.nix @@ -25,6 +25,20 @@ in { }; }; + fileSystems."/srv/ceph" = { + device = "172.22.99.13:6789:/"; + fsType = "ceph"; + options = [ + "name=storage2" + "secret=AQAvRhxcaCK0IxAAnoe00oiopcpQeKZgL02RWw==" + "noatime,_netdev" + "noauto" + "x-systemd.automount" + "x-systemd.device-timeout=175" + "users" + ]; + }; + services.nginx = { enable = true; recommendedGzipSettings = true;