diff --git a/systems/club-mate/default.nix b/systems/club-mate/default.nix index b2a6388..d8d710f 100644 --- a/systems/club-mate/default.nix +++ b/systems/club-mate/default.nix @@ -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 = {