fix sharename

This commit is contained in:
Julian Sutter 2025-12-18 15:19:24 -08:00
parent 86ee5f3325
commit bfd1d51370
2 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,27 @@
{ config, pkgs, ... }:
{
environment.systemPackages = [ pkgs.cifs-utils ];
systemd.tmpfiles.rules = [
"d /mnt/udmshare 0755 root root - -"
];
fileSystems."/mnt/udmshare" = {
device = "//10.42.1.254/udmshare";
fsType = "cifs";
options = [
"username=smbuser"
"password=Monaco55"
"vers=3.0"
"iocharset=utf8"
"_netdev"
"nofail"
"x-systemd.automount"
"uid=1000"
"gid=1000"
"file_mode=0664"
"dir_mode=0775"
];
};
}