sops
This commit is contained in:
parent
bdcb1791ad
commit
10041af092
4 changed files with 33 additions and 12 deletions
|
|
@ -1,5 +1,4 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
{ lib, config, ... }: {
|
||||
options.server.nfs.enable = lib.mkEnableOption "Enable NFS shares";
|
||||
|
||||
config = lib.mkIf config.server.nfs.enable {
|
||||
|
|
@ -20,11 +19,13 @@
|
|||
|
||||
fileSystems."/export/share" = {
|
||||
device = "/data/share";
|
||||
fsType = "nfs";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
fileSystems."/export/torrent" = {
|
||||
device = "/data/torrent";
|
||||
fsType = "nfs";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue