nixpkgs-format all files

This commit is contained in:
Moritz Böhme 2021-11-11 18:34:54 +01:00
parent 342b29f73c
commit 6f64608b0b
15 changed files with 50 additions and 38 deletions

View file

@ -25,14 +25,16 @@
fileSystems."/media/media" = {
device = "//192.168.0.2/media";
fsType = "cifs";
options = let
# this line prevents hanging on network split
automount_opts =
"x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
options =
let
# this line prevents hanging on network split
automount_opts =
"x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
in [
"${automount_opts},credentials=/run/secrets/smbMedia,uid=1000,gid=100"
];
in
[
"${automount_opts},credentials=/run/secrets/smbMedia,uid=1000,gid=100"
];
};
# fileSystems."/media/diskstation" = {