summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-10-07 10:53:47 +0200
committertv <tv@krebsco.de>2018-10-07 10:53:47 +0200
commit74703de2701fa3053d3459c779fc55a8f398acf1 (patch)
treefe02af6e8ce1233b3cc0aa84ecf25662c56a1fd2
parent396553d2587ebd8302203ea76f9b42f992cf5927 (diff)
lib.config.filesystem: propagate options
-rw-r--r--lib/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 3132bfd..8b2ed86 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -14,6 +14,7 @@ let {
fileSystems.${x.mountpoint} = {
device = q.device;
fsType = x.format;
+ ${if x ? options then "options" else null} = x.options;
};
};