Files
nix-config/hosts/msi-rtx4090/cifs-mount.nix
2023-05-21 03:19:46 +08:00

15 lines
339 B
Nix

{ config, pkgs, ... }:
{
# mount a smb/cifs share
fileSystems."/home/ryan/SMB-Downloads" = {
device = "//192.168.5.194/Downloads";
fsType = "cifs";
options = [
"vers=3.0,uid=1000,gid=100,dir_mode=0755,file_mode=0755,mfsymlinks,credentials=${config.age.secrets.smb-credentials.path},nofail"
];
};
}