This commit is contained in:
alydev 2025-09-28 15:22:57 +10:00
parent 22667daba3
commit b88e97609c

View file

@ -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";