Add kafka mount to alt

This commit is contained in:
Alexander Wainwright
2025-06-27 00:03:34 +10:00
parent 95ec5f70b0
commit ab15d1fde2
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{ config, pkgs, inputs, ... }:
{
environment.systemPackages = with pkgs; [
cifs-utils
];
# For mount.cifs, required unless domain name resolution is not needed.
fileSystems."/mnt/kafka/video" = {
device = "//kafka.local/video";
fsType = "cifs";
options = ["credentials=/etc/nixos/smb-secrets,uid=1000,gid=100"];
# options = let
# automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,user,users";
# in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=100"];
};
}