This commit is contained in:
alydev 2025-09-28 15:34:36 +10:00
parent c4f365df53
commit af34cfdcdf

View file

@ -3,10 +3,10 @@
services.openvpn.servers = { services.openvpn.servers = {
laptop = { config = '' config /home/aly/.secrets/laptop.ovpn ''; }; laptop = { config = '' config /home/aly/.secrets/laptop.ovpn ''; };
}; };
fileSystems."/mnt/media" = { fileSystems."/mnt/storage" = {
device = "//10.8.0.4/media"; device = "aly@lan.aly.pet:/mnt/storage";
fsType = "cifs"; fsType = "sshfs";
options = ["ro,guest,vers=3.0,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 = ["nodev", "noatime", "allow_other", "IdentityFile=/home/aly/.ssh/id_ed25519"];
}; };
services.logind = { services.logind = {
lidSwitch = "suspend"; lidSwitch = "suspend";