diff options
author | Florian Klink <flokli@flokli.de> | 2019-11-02 15:15:33 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-11-09 15:27:45 +0100 |
commit | 64c9c083028671f6c0f3a67446932e45984e2d87 (patch) | |
tree | eccd3bc8675b0b9185b50272ba337bc85f95e5aa /nixos/modules/services | |
parent | 8e639f142f61fd4643acd27ae3be527ba4039a62 (diff) | |
download | nixlib-64c9c083028671f6c0f3a67446932e45984e2d87.tar nixlib-64c9c083028671f6c0f3a67446932e45984e2d87.tar.gz nixlib-64c9c083028671f6c0f3a67446932e45984e2d87.tar.bz2 nixlib-64c9c083028671f6c0f3a67446932e45984e2d87.tar.lz nixlib-64c9c083028671f6c0f3a67446932e45984e2d87.tar.xz nixlib-64c9c083028671f6c0f3a67446932e45984e2d87.tar.zst nixlib-64c9c083028671f6c0f3a67446932e45984e2d87.zip |
nixos/ceph: create /etc/ceph and /var/lib/ceph via tmpfiles
We seem to be relying on those being present during runtime anyways.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/network-filesystems/ceph.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/network-filesystems/ceph.nix b/nixos/modules/services/network-filesystems/ceph.nix index 656a2d21b868..887a6ff925d2 100644 --- a/nixos/modules/services/network-filesystems/ceph.nix +++ b/nixos/modules/services/network-filesystems/ceph.nix @@ -401,7 +401,9 @@ in mkMerge targets; systemd.tmpfiles.rules = [ + "d /etc/ceph - ceph ceph - -" "d /run/ceph 0770 ceph ceph -" + "d /var/lib/ceph - ceph ceph - -" ]; }; } |