1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 20:01:08 +01:00
Files
niveum/configs/fritzbox.nix

22 lines
529 B
Nix
Raw Normal View History

2024-04-03 07:56:07 +02:00
{ config, ... }:
{
2024-04-03 10:09:43 +02:00
fileSystems."/media/fritz" = {
2024-04-03 07:56:07 +02:00
device = "//192.168.178.1/FRITZ.NAS";
fsType = "cifs";
options = [
"username=ftpuser"
"password=ftppassword"
"noauto"
"uid=${toString config.users.users.me.uid}"
"gid=${toString config.users.groups.users.gid}"
2024-04-03 10:09:43 +02:00
"workgroup=WORKGROUP"
2024-04-03 07:56:07 +02:00
"rw"
2024-04-03 10:09:43 +02:00
"noserverino" # ref https://askubuntu.com/a/1265165
2024-04-03 07:56:07 +02:00
"nounix"
"x-systemd.automount"
"x-systemd.device-timeout=1"
"x-systemd.idle-timeout=1min"
];
};
}