added diskstation
parent
5d7fc1f9f8
commit
a4c9c5d8e3
|
@ -0,0 +1,16 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.davfs2.enable = true;
|
||||
services.autofs = {
|
||||
autoMaster =
|
||||
let
|
||||
mapConf = pkgs.writeText "auto" ''
|
||||
keepass -fstype=favfs,conf=
|
||||
'';
|
||||
in
|
||||
''
|
||||
/auto file:${mapConf}
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue