Libvirt: Difference between revisions
imported>Onny Add mounting example |
imported>Onny Update davfs mount example |
||
| Line 141: | Line 141: | ||
Mount an example share called <code>myshare</code> to the mountpoint <code>myshare</code> | Mount an example share called <code>myshare</code> to the mountpoint <code>myshare</code> | ||
< | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
services.davfs2 = { | |||
enable = true; | |||
</ | extraConfig = '' | ||
ask_auth 0 | |||
''; | |||
}; | |||
fileSystems = { | |||
"/root/myshare" = { | |||
device = "http://localhost:9843/myshare"; | |||
fsType = "davfs"; | |||
options = [ "ask_auth=0" ]; | |||
}; | |||
}; | |||
</nowiki>}} | |||
== Clients == | == Clients == | ||