2022-02-04 23:23:34 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
fileSystems."/home/felschr/media" = {
|
2022-02-06 23:01:56 +01:00
|
|
|
device = "//192.168.1.234/media";
|
2022-02-04 23:23:34 +01:00
|
|
|
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"
|
2022-05-04 03:02:47 +02:00
|
|
|
"credentials=${config.age.secrets.samba.path}"
|
2022-02-04 23:23:34 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|