This commit is contained in:
commit
95a533c876
451 changed files with 18255 additions and 0 deletions
25
docs/modules/nixos/cifsmount.md
Normal file
25
docs/modules/nixos/cifsmount.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# cifsMount
|
||||
|
||||
> Warning: This module is not actively maintained. Expect things to break!
|
||||
|
||||
This module allows you to automount cifs shares after the login of the specified user. The remote has to have a running samba server.
|
||||
|
||||
View the [*synix* NixOS module on Forgejo](https://git.sid.ovh/sid/synix/tree/master/modules/nixos/cifsMount).
|
||||
|
||||
## Config
|
||||
|
||||
```nix
|
||||
config.services.cifsMount = {
|
||||
enable = true;
|
||||
remotes = [
|
||||
{
|
||||
host = "ip_address";
|
||||
shareName = "share_name";
|
||||
mountPoint = "/home/user/mount_point";
|
||||
credentialsFile = "/home/user/.smbcredentials";
|
||||
user = "user";
|
||||
}
|
||||
# more remotes ...
|
||||
];
|
||||
};
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue