feat: switch to samba for media share

This commit is contained in:
Felix Schröter 2022-02-04 23:23:34 +01:00
parent a9e41abe2f
commit dfe6dbecf3
Signed by: felschr
GPG key ID: 671E39E6744C807D
7 changed files with 50 additions and 14 deletions

View file

@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
{
fileSystems."/home/felschr/media" = {
device = "//192.168.1.234:/media";
fsType = "cifs";
options = [
# automount options
"x-systemd.automount"
"noauto"
"x-systemd.idle-timeout=60"
"x-systemd.device-timeout=5s"
"x-systemd.mount-timeout=5s"
"uid=1000"
"credentials=/etc/nixos/secrets/samba"
];
};
}