mount share

This commit is contained in:
jopejoe1 2024-05-01 22:01:11 +02:00
parent c0e99e5921
commit e16e3bc6be

View file

@ -26,6 +26,16 @@
fsType = "ext4";
};
fileSystems."/mnt/share" = {
device = "//192.168.88.251/mnt/Shares/Public";
fsType = "cifs";
options = let
# this line prevents hanging on network split
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
in ["${automount_opts},credentials=/etc/nixos/smb-secrets"];
};
hardware.raspberry-pi."4".fkms-3d.enable = true;
networking = {
@ -84,6 +94,7 @@
kitty
firefox-devedition
prismlauncher
cifs-utils
];
xdg = {