feat(nixosModules/server): add smb shares
This commit is contained in:
parent
3dd00fedf0
commit
2b15a62f54
3 changed files with 30 additions and 2 deletions
|
@ -68,6 +68,26 @@
|
|||
"x-systemd.mount-timeout=0"
|
||||
];
|
||||
};
|
||||
fileSystems."/media/helios/rafiqcloud" = {
|
||||
device = "//helios/rafiqcloud";
|
||||
fsType = "cifs";
|
||||
options = [
|
||||
"x-systemd.automount"
|
||||
"x-systemd.requires=tailscaled.service"
|
||||
"x-systemd.mount-timeout=0"
|
||||
"credentials=${config.sops.templates."smb-credentials".path}"
|
||||
];
|
||||
};
|
||||
fileSystems."/media/helios/rafiqmedia" = {
|
||||
device = "//helios/rafiqmedia";
|
||||
fsType = "cifs";
|
||||
options = [
|
||||
"x-systemd.automount"
|
||||
"x-systemd.requires=tailscaled.service"
|
||||
"x-systemd.mount-timeout=0"
|
||||
"credentials=${config.sops.templates."smb-credentials".path}"
|
||||
];
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue