diff --git a/system/aly-laptop.nix b/system/aly-laptop.nix index 4817113..cd052df 100644 --- a/system/aly-laptop.nix +++ b/system/aly-laptop.nix @@ -3,10 +3,10 @@ services.openvpn.servers = { laptop = { config = '' config /home/aly/.secrets/laptop.ovpn ''; }; }; - fileSystems."/home/aly/Music" = { - device = "//10.8.0.4/media/music"; + fileSystems."/mnt/media" = { + device = "//10.8.0.4/media"; fsType = "cifs"; - options = ["x-systemd.requires=openvpn-laptop.service,x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s"]; + options = ["ro,x-systemd.requires=openvpn-laptop.service,x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s"]; }; services.logind = { lidSwitch = "suspend";